-
Notifications
You must be signed in to change notification settings - Fork 0
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
Pa table header refresh #24
base: main
Are you sure you want to change the base?
Conversation
… framework. but sister directories are, despite having exactly the same permissions
…gurable from CONF. Plus put style.css in css directory and update links.
…th IntroBlurbs and used to hide/show and persist the intro blurbs'
I think this is a great start. We might want to split this into multiple PRs. In principle, each PR should fix one problem or add one new feature. There are two reasons for this. One is that large PRs are hard to review. The second is that it is hard to reach consensus when there are many unrelated things to consider. For example, having assets split into subdirectories is something that is fairly straightforward and could go straight in. Other things, such as theming, have historically required lots of discussion, and, in this case we'd want to get closer to the theme on the exaworks.org web site, so that part is not as ready to go in. |
Hi Mihael, could we hold off on the exaworks themeing project for now? since that is a lower priority. I can make smaller pull requests in the future, as you suggested. |
Hi Mihael, I have an idea. Maybe we could just consider the styling changes provisional for now? Dan Laney and I are working towards a Sept 30th deadline. We want to be able to wow the potential new users. Then, later on when we do the exascale reskin, I can meet up with you online to discuss the color scheme. that way you can approve it before I implement the reskin. sound okay? |
I see no reason to commit something that we plan not to use. |
Are you planning to split this PR or would you like me to review it as is? |
Please review as is. Thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, but I think there are some things that shouldn't be merged. I added some comments inline.
README.md
Outdated
https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/ | ||
|
||
the last step is: | ||
brew services start [email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is OS X specific. Perhaps that should be made more clear.
cd ~/psi-j-testing-service; | ||
python3 src/psij/testing/service.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this belongs in a README-dev.md document or under a section that specifies that this allows one to create a local development environment.
README.md
Outdated
|
||
then you can see it at this url: | ||
http://0.0.0.0:9909/summary.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about 0.0.0.0. It seems to work, but, from what I understand, it's not meant to signify "loopback address", which is 127.0.0.1
README.md
Outdated
you need to edit testing.conf first and, at a minimum, update the url to point to your server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's both first person and third person here. Is this document meant for other people? If so, it may be a bit confusing.
src/psij/web/css/style.css
Outdated
@@ -1,5 +1,5 @@ | |||
body { | |||
background-color: #f0f0f0; | |||
background-color: #ffffff; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed, can we hold off on temporary style changes?
src/psij/web/js/localStorage.js
Outdated
@@ -0,0 +1,79 @@ | |||
// Global Storage, shortcut for sqs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of this library?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I needed persistence to prevent IntroBlurbs from showing up after the user has closed them. We can use it for many purposes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds unusual in that I'm not familiar with any sites that do this except in very special cases when required by law or some such (like cookies preferences). But those are quite annoying and intrusive. We could simply have a brief introductory text that users can ignore after reading it once and, in case they forget it, read it again.
Additionally, the code already has a library that saves settings in cookies, which is used to remember the summary view type and other settings.
<div class="highlightable button view-mode-group" id="view-mode-curated-sites" title="Curated Sites" onclick="setViewMode('curated-sites')"> | ||
<span class="material-icons">home</span> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the curated-sites view mode exist and is functional? If not, perhaps this belongs in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not functional yet. Just a work in progress. Ok, i am commenting this out for future PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the comment does not help understand the code, it should probably not be there.
src/psij/web/css/style.css
Outdated
#status-calendar tr:nth-child(even) td, | ||
tr:nth-child(even) th { | ||
background-color: #f2f2f2; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I recommend Butterick's Practical Typography (https://practicaltypography.com/), in particular the sections on tables and grids? It's a good resource in general for creating readable textual content, but it applies in good measure to other things, like websites.
src/psij/web/css/style.css
Outdated
border-top-right-radius: 5px; | ||
border-top-left-radius: 5px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think of the view modes more like the "view as list" / "view as icons" in windows explorer and Finder. They are not tabs, since the information doesn't change. What changes is how the same information is represented.
Hi everyone. I created several new directories (js, css, img, img_logos) and updated the references to all the stuff in those directories. Also, I've restyled the header and updated the look and feel of the tabs and overall site. Also, I've added a localstorage persistance layer which will be very easy to use. I've also implemented a new Vue Component called IntroBlurb. The idea that these blurbs would only be shown to the user until he/she decides to close them. Also, I've added configuration file, as we discussed, such that all the text strings will be configurable. So, if you don't like the intro blurbs or the Dashboard name, we can change them in the config file.