Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#4 Integrates arxiv2notionplus #6

Merged
merged 70 commits into from
Jan 8, 2024
Merged

Conversation

denkiwakame
Copy link
Owner

@denkiwakame denkiwakame commented Apr 23, 2022

#4

  • integrates arxiv2notionplust integrates arxiv2notionplus #4
  • add published dates Advice for adding date #3
  • merge documents
  • manual CHANGELOG
    • (avoid semantic-release since this repository release is not so active)
  • add CONTRIBUTING.md
  • add linter / formatter
  • automated package release
  • adjust layout
  • adjust template
  • red icon
  • popup.html auto-resize not working ... ? -> chrome-ext has a maximum-size limit.

@denkiwakame denkiwakame marked this pull request as ready for review January 8, 2024 03:49
const authors = authorsFormatted.split(', ');
const authorsMultiSelect = authors.map((author) => {
return { name: author };
});
Copy link
Owner Author

Choose a reason for hiding this comment

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

this.setFormContents(paperTitle, abst, authors);
return { title: paperTitle, abst: abst, authors: authors, url: url };
const published = entry.querySelector('published').textContent;
const comment = entry.querySelector('comment')?.textContent ?? 'none';
Copy link
Owner Author

Choose a reason for hiding this comment

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

refactored: https://github.com/wangjksjtu/arxiv2notionplus/blob/main/src/js/popup.js#L129-L136

we can use ``??'' to write the same process in a single line.

<!-- type="text" -->
<!-- placeholder="published" -->
<!-- ></input> -->
<!-- </div> -->
Copy link
Owner Author

Choose a reason for hiding this comment

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

I decided not to display "published" field in the user interface because:

  1. this field should not be edted by hand.
  2. maximum height of the popup window is limited (600px)

id="js-save"
class="uk-icon-button uk-icon-large uk-align-center uk-margin-small"
uk-icon="bookmark"
/>
Copy link
Owner Author

Choose a reason for hiding this comment

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

I decided to change "save button" position to top of the popup window.
I found that most of users click only "databases" and "save"

@denkiwakame denkiwakame merged commit 6259710 into main Jan 8, 2024
1 check passed
@denkiwakame denkiwakame deleted the integrates-arxiv2notionplus branch January 10, 2024 12:30
@denkiwakame denkiwakame self-assigned this Jan 10, 2024
@denkiwakame denkiwakame added the enhancement New feature or request label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants