Skip to content

Feature: recommended people name to add from RMarkDown & Quarto#336

Merged
lrasmus merged 7 commits intoStatTag:masterfrom
Ayush4958:feature-recommended-people-name-to-add
Mar 17, 2026
Merged

Feature: recommended people name to add from RMarkDown & Quarto#336
lrasmus merged 7 commits intoStatTag:masterfrom
Ayush4958:feature-recommended-people-name-to-add

Conversation

@Ayush4958
Copy link
Copy Markdown
Contributor

Description

This features scans the directory and & sub-directory also and finds the suitable files (RMarkDown & Quarto) , If the data written in proper format, So fetches Author field data and made available to the UI.

Related Issues

Issue #303

Screen Recording

2026-03-12.12-29-17.mp4

Additional Information

  • Tested against Different format , Work awesome

@Ayush4958
Copy link
Copy Markdown
Contributor Author

@lrasmus ,
Pls review it

Copy link
Copy Markdown
Contributor

@lrasmus lrasmus left a comment

Choose a reason for hiding this comment

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

This is a very helpful and clean implementation - thank you as well for ensuring there are unit tests. I had two small suggested changes for you to consider. Thank you!

Comment thread app/services/assets/handlers/r.js Outdated
if (option.userEntry) {
return `${GeneralUtil.formatName(option.name)} (me)`;
} else if (option.extractedEntry) {
return `${GeneralUtil.formatName(option.name)}`;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm wondering if we could simplify and use the previous code that was here before? Let me know if I'm reading this wrong, but there doesn't appear to be any special formatting required for extracted entries, correct? If so, we could probably do:

              option.userEntry
                ? `${GeneralUtil.formatName(option.name)} (me)`
                : GeneralUtil.formatName(option.name)

Copy link
Copy Markdown
Contributor Author

@Ayush4958 Ayush4958 Mar 13, 2026

Choose a reason for hiding this comment

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

Sorry ,
I was planning to add (but it seems i forgot 😅)
else if (option.extractedEntry) { return ${GeneralUtil.formatName(option.name)} (Extracted) ;

It would differentiate between normal and extracted entry,
Just want your thought on it

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Gotcha! How about "(Detected)" instead of "(Extracted)"? But I like the idea of having that labeled. Thanks!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Totally awesome ,
just implementing it

Signed-off-by: Ayush <bhandariayush935@gmail.com>
Signed-off-by: Ayush <bhandariayush935@gmail.com>
Signed-off-by: Ayush <bhandariayush935@gmail.com>
Copy link
Copy Markdown
Contributor

@lrasmus lrasmus left a comment

Choose a reason for hiding this comment

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

Thank you so much!

@lrasmus lrasmus merged commit f047d9c into StatTag:master Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants