Added MDN docs command #20
No reviewers
Labels
No Label
Backlog
bug::Awaiting merge
bug::fix
bug::S1
bug::S2
bug::S3
change::Awaiting merge
change::breaking
change::minor
change::new
change::patch
Good First Issue
In Progress
priority::critical
priority::high
priority::low
priority::medium
proposal::accepted
proposal::denied
proposal::pending
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: engineering/community-relations#20
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "mdn"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
added 1 commit
3c86875e
- Deleted mdn.ts because it's in the wrong placeCompare with previous version
added 1 commit
399a32a4
- Changed location of mdn.ts to the correct oneCompare with previous version
added 1 commit
28783684
- Delete mdn.ts cuz its still in the wrong placeCompare with previous version
added 1 commit
933e5805
- correct location 2Compare with previous version
It's not working out perfectly yet, so please don't merge request.
It worked at first, but then I discovered some problems I hadn't seen before.
Let me know when this is ready for review.
The API that I was going to use for this command seems to be back up online again, so this is ready for review.
added 1 commit
b9f789e6
- mdn command returns help when no args specifiedCompare with previous version
added 1 commit
cd86c3f7
- used await instead of .then().catch() (KhaaZ)Compare with previous version
I guess this whole parsing here is just ugly. But this would need quite a lot of changes and this should work so I guess it will do
approved this merge request
Include a type definition here please
Also following try catch is useless
What's with the replacing? All it does is just switch them around
Could probably just do this without checking if there's an actual URL, since all you're doing is just replacing
Apply same changes as https://gitlab.libraryofcode.org/engineering/communityrelations/-/merge_requests/7#note_960 please
Include command in index.ts export please
Would rather this in a separate PR tbh
This isn't github. MR*
Also update your branch please, see instructions in !6
Try it, it will error
Just checked, you are correct here, it will automatically add the prefix if you didn't include it. However the error being caused is due to a bug, this should be fixed separately
Nah it's used to check if the API works/doesn't return a error code
@matthew
Agreed, but what's the purpose of this again?
The handle error function is used to log any unexpected errors and disable the command, what you're doing is sending 2 error messages, and either way we will need logs for when this happens.
changed this line in version 9 of the diff
added 1 commit
d71a1590
- Apply suggestion to src/commands/mdn.tsCompare with previous version
Will be totally rewrote
closed
Pull request closed