-
Notifications
You must be signed in to change notification settings - Fork 78
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
FFCS Redesign #179
FFCS Redesign #179
Conversation
Moved option buttons side by side, added a modal to rename a table and a modal to confirm table deletion.
Thanks @therealsujitk ! Looks great! I'll review the code but can we make few changes:
|
Alright! Will do.
I thought it matched with the sites theme. I'll try some lighter colours and see.
Alright, I'll make adjustments. |
I general, we should minimize writing custom CSS and let defaults of bootstrap be used |
I've used bootstrap as much as I could, the theme toggle (now hidden) wasn't a feature in bootstrap, so that was a custom addition. Apart from that I've only used CSS to make margin, padding adjustments or to override the default settings. There are blockquotes in bootstrap, but they are just text with a bigger font size, and I didn't think that matched with the rest of the site. |
@vatz88 are the quick selection buttons alright now? |
@vatz88 how does lavender ( We'll have to change the pink used in the slot tiles as well, doesn't go good with lavender. Also I think it'll look good if we give a black border to the course table. |
I'd say may be keep it same as the current one. It doesn't need any bright color. Maybe just white bg and grey text is good.
Yes! we need it as in the current design for it to look more tidy |
Yes, better with spacing now |
Oh, didn't think of that. Let me see. |
@vatz88 I made the background light grey to make it stand out a little, fixed the scroll to top issue that I mentioned in the first post & added a black border to the course table. |
I actually tried that at first, but it looked very odd, the only element with no margin. It felt like it was a bug. I was able to use it comfortably on my phone so I thought it should work, plus the small margin doesn't make much of a difference. Have you tried using it on a phone yet? If you feel that it should still be changed then I'll do it, but I feel the current one is best.
If we give it a max-width, that would cause empty gaps because I do agree with you tho, this does look better (except for the extra spacing). I'll work on this and see if I can make it so the last row alone doesn't grow fully. |
@vatz88, I got what you asked for using |
@vatz88 before merging this PR, can you archive the current site, maybe at https://ffcsonthego-archive-2.vatz88.in/ or something similar. That way it can be added to the |
Hey @therealsujitk thanks for all the efforts! I'll try it out myself and go through the code (probably over weekend) and make any changes needed before merging. I'll have to check how well is grid supported in browsers other than chrome, especially safari (for iphone users) One more change needed is we need to add some border to the course search panel as in the current design. It's all open in white and not distinctive. |
Alright! I'll start working on the clean up PR on top of this branch. Edit: I'll work on the clean up PR after this one is merged (on top of master), otherwise git will include these changes in that PR and it'll be a lot harder to review.
Not sure if a border will look good, but I'll try and see if something looks good. I had mentioned before that bootstrap removed their panel, so that isn't an option anymore. I've divided the site into 3 main sections |
We don't need that. I'll make a new release on this repo. I have the old site deployed on different domain because it used facebook comments and I didn't want the old comments/ discussions to be lost |
Oh ok, understood!
After merging, can you wait a bit for the release. There are some small things I'd like to add in the clean up PR such as,
Apart from this, the current timetable is not up-to-date (#169). So that will require another PR. I'll start working on the clean up PR as soon as this one is merged (on top of master). Otherwise these changes will be included in the clean up PR and it'll be a lot harder to review. |
Deployments are continuous with netlify once the pr is merged to master. The release I'll make will be here https://github.com/vatz88/FFCSonTheGo/releases Probably a major release with v11 after this PR is merged. Future minor fixes/changes can go as like v11.1 and so on |
Code refactoring on top of #179
This pull request contains the FFCS redesign.
The Filter By Slots option has to be fixed.For some reason, the window doesn't scroll to the top before taking a screenshot. Screenshots may get cut because of this.(The scroll to the top looks like a hack, an alternative should be implemented).Dark theme is incomplete. (Will work on this once the current UI for light mode has been frozen).A new PR will be created for this.Note: Unused resources might be found in this PR, I'm planning to clean that up in the next PR.