Skip to content

Make parse-backticks more reliable - #3397

Merged
fregante merged 9 commits into
refined-github:masterfrom
kidonng:parse-backticks
Jul 27, 2020
Merged

fregante merged 9 commits into
refined-github:masterfrom
kidonng:parse-backticks

Conversation

@kidonng

@kidonng kidonng commented Jul 24, 2020 •

Copy link
Copy Markdown
Member

On request by #3290 (comment)

Part of #3084

Edited the title and it stil runs well!!! 😋 (though there's about 2 seconds' delay) (Never mind, that is format-conversation-titles)

@kidonng kidonng changed the title Use selector-observer in parse-backticks Use selector-observer to run parse-backticks Jul 24, 2020
Comment thread source/features/parse-backticks.tsx Resolved
@kidonng

kidonng commented Jul 24, 2020

Copy link
Copy Markdown
Member Author

We have to test the selectors and narrow scope down since they are now global

@kidonng

kidonng commented Jul 24, 2020

Copy link
Copy Markdown
Member Author
  • Grouped/merged related selectors
  • Replace some generic selectors with more specific selectors
  • Add detailed comments

Comment thread source/features/parse-backticks.tsx Resolved
@yakov116

Copy link
Copy Markdown
Member

Not sure if you fixed this but

image

@kidonng

kidonng commented Jul 26, 2020 •

Copy link
Copy Markdown
Member Author

Yeah it's parsed

image

Isn't the selector for that place is already included before this PR? https://github.com/sindresorhus/refined-github/pull/3397/files#diff-7b0a2c8650978a85cebddd08a46e40baL29

@yakov116

Copy link
Copy Markdown
Member

Funny it was not working for me before

@fregante fregante left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to work correctly so far. I'll be testing this more

Comment thread source/features/parse-backticks.tsx Resolved
@yakov116

Copy link
Copy Markdown
Member

Should we make a line break in between each unique page type? (Ex: isWiki isDashboard) I think it will make it a drop easier to read.

@fregante

Copy link
Copy Markdown
Member

I don't think there's any way to make it any more readable. It's a list of wildly different selectors, it's just what it is

@fregante fregante added bug and removed enhancement labels Jul 27, 2020
@fregante fregante changed the title Use selector-observer to run parse-backticks Make parse-backticks more reliable Jul 27, 2020
@fregante fregante changed the title Make parse-backticks more reliable Make parse-backticks more reliable / test Jul 27, 2020
@fregante fregante changed the title Make parse-backticks more reliable / test Make parse-backticks more reliable Jul 27, 2020
@fregante
fregante merged commit 25ce509 into refined-github:master Jul 27, 2020
@fregante

Copy link
Copy Markdown
Member

@yakov116

Copy link
Copy Markdown
Member

@kidonng

kidonng commented Jul 28, 2020

Copy link
Copy Markdown
Member Author

@yakov116

Copy link
Copy Markdown
Member

Yes.

You should get it, its an awesome extension.

@kidonng
kidonng deleted the parse-backticks branch July 28, 2020 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants