Skip to content

Several minor UI improvements#57

Merged
jeroenvandijk merged 10 commits intoathensresearch:masterfrom
syvb:styling-improvements
May 18, 2020
Merged

Several minor UI improvements#57
jeroenvandijk merged 10 commits intoathensresearch:masterfrom
syvb:styling-improvements

Conversation

@syvb
Copy link
Contributor

@syvb syvb commented May 14, 2020

This incorporates several minor UI changes:

  • style.cljs is now formatted idomatically.
  • Fixed two lint warnings about the order of requires.
  • There is now a loading message while the JavaScript loads.
  • Alternating rows in the homepage table are light gray to make it easier to see across a row.
  • For some reason, some dates are stored 0 instead of an actual date. These are now displayed as "(unknown date)" in a dark gray.
  • Added a gap between links in the left sidebar.

syvb and others added 6 commits May 14, 2020 15:09
Before, they were shown as "12/31/1969, 7:00:00 PM". The new text is
shown in dark gray. I've also re-formatted style.cljs.
Shows a "Loading script..." while the JS loads, as that can take a bit.
Otherwise, the user would just see a blank screen. It also informs the
user if the JS is loading currently or the database is loading
currently.
My linting tool was complaining about unordered requires,
this orders them.
Copy link
Contributor

@jeroenvandijk jeroenvandijk 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. I left some comments that are up for discussion. Can you check what you think @Smittyvb?

@syvb
Copy link
Contributor Author

syvb commented May 18, 2020

@jeroenvandijk I've removed the Roam reference, and switched to functions instead of classes.

@syvb syvb requested a review from jeroenvandijk May 18, 2020 12:55
Copy link
Contributor

@jeroenvandijk jeroenvandijk left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you!

@jeroenvandijk jeroenvandijk merged commit a6b0811 into athensresearch:master May 18, 2020
korlaism pushed a commit to korlaism/athens that referenced this pull request Jul 19, 2021
* style: display invalid dates as (unknown date)

Before, they were shown as "12/31/1969, 7:00:00 PM". The new text is
shown in dark gray. I've also re-formatted style.cljs.

* style: alternate gray and white on pages table

* feat: no blank screen during JavaScript loading

Shows a "Loading script..." while the JS loads, as that can take a bit.
Otherwise, the user would just see a blank screen. It also informs the
user if the JS is loading currently or the database is loading
currently.

* style: add a small gap between left sidebar links

* refactor: order requires alphabetically

My linting tool was complaining about unordered requires,
this orders them.

* fix: remove Roam reference while loading

* refactor: use merging functions instead of classes

Co-authored-by: Jeroen van Dijk <jeroentjevandijk@gmail.com>
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.

3 participants