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

Add a word counter for abstract and indicate if the abstract is too long #4400

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

cquiroz
Copy link
Contributor

@cquiroz cquiroz commented Dec 19, 2024

image

Copy link

bundlemon bot commented Dec 19, 2024

BundleMon

Files updated (2)
Status Path Size Limits
index-(hash).js
1.71MB (+731B +0.04%) -
index-(hash).css
66KB (+31B +0.05%) -
Unchanged files (6)
Status Path Size Limits
exploreworkers-(hash).js
594.61KB -
workbox-window.prod.es5-(hash).js
2.07KB -
catalogworker-(hash).js
90B -
plotworker-(hash).js
88B -
agsworker-(hash).js
87B -
itcworker-(hash).js
87B -

Total files change +762B +0.03%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@@ -2014,6 +2014,11 @@ svg.fa-triangle-exclamation.explore-error-icon {
// ------
// Proposals and Partner Splits
// ------

.explore-abstract-too-long {
color: var(--error-background-color);
Copy link
Contributor

Choose a reason for hiding this comment

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

There's a recently added --negative-row-color that you may want to use here instead of using a background color for the text. (There's also a --negative-row-background)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried but couldn't find the new variable even after a rebase

Copy link
Contributor

Choose a reason for hiding this comment

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

I tried but couldn't find the new variable even after a rebase

It's defined in lucuma-ui since it's shared with observe.

Copy link
Contributor

@rpiaggio rpiaggio left a comment

Choose a reason for hiding this comment

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

LGTM, minor comment

@cquiroz cquiroz merged commit b3b7805 into master Dec 19, 2024
17 checks passed
@cquiroz cquiroz deleted the sc-4284-proposal-abstract-word-counter branch December 19, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants