website icon indicating copy to clipboard operation
website copied to clipboard

New website UI

Open AdrianoCahete opened this issue 5 years ago • 26 comments

Fixes #92.

AdrianoCahete avatar Oct 27 '20 04:10 AdrianoCahete

By now it's usable, but not so great if anyone wants to see in a live environment. My plan is to finish, at least the first usable version at the end of the week,

AdrianoCahete avatar Oct 27 '20 04:10 AdrianoCahete

Codecov Report

Merging #137 (63ffe13) into master (33e59a0) will decrease coverage by 0.28%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #137      +/-   ##
==========================================
- Coverage   63.28%   63.00%   -0.29%     
==========================================
  Files          65       65              
  Lines        1419     1419              
==========================================
- Hits          898      894       -4     
- Misses        521      525       +4     

codecov[bot] avatar Oct 27 '20 05:10 codecov[bot]

Home is finished on desktop. I'm moving to internal pages to make them usable on the new UI (and do some rewrites when it's applicable) and then move to mobile.

There's no style for nav pills, paginations and tables yet.

Feel free to give me feedbacks :)

AdrianoCahete avatar Oct 30 '20 21:10 AdrianoCahete

I have just a few fixes to do, but I think that it's easier to make this PR for a desktop version and, after merged, go to mobile.

Since the mobile is wrong in some places on the current UI (menu, code block, some tables) and no one opened an issue, I think that most people don't really see the website on mobile... ¯\(ツ)

AdrianoCahete avatar Nov 05 '20 22:11 AdrianoCahete

Would you mind posting screenshots please ?

williamdes avatar Nov 06 '20 17:11 williamdes

I still need to fix Books (inside Docs), Donate, and History layouts (they are working, but not with the best visual).

A "small" changelog before:

  • Docs URLs to Django 1.7 are removed from the Django site. I found the readthedocs mirrors and changed when I found them.
  • Changed the Download link on the header to move to the Download page since we don't have a link to that page. CTA button on page stills points to download directly.
  • Try button points to the Try page, so the user can see all the warnings before starts. Inside the page, there's a button to Demo env.
  • Added a Download button on Docs page for people who visit with mobile, since the Header CTA buttons will not appear on small resolutions.
  • Removed bootstrap since I don't think that you use neither 30% of the package. I made custom css instead that matches your current use (and may match your future needs). I may write internal documentation for those styles later.
  • Removed FontAwesome too, since all the icons now are SVG's.
  • Move from to
    element to match new specs (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/content)
  • Made some styles specific so you don't need to read documentation all the time, doesn't break the style guide unintentionally neither use classes where is not needed. (you just can use the .footer-link class inside the footer element. You can just use .btn-big inside .btn element. You will never see a footer-link on navbar without some strangeness -- easier to spot on future PR)
  • Moved components to a component folder to better differentiate component/include from templates files
  • I made an alert component, just use alert in conjunction with some alert definition (alert-info, alert-error, alert-success, alert-warning). You can see it on the Download popup.
  • Fixed the modal style
  • Fixed the progress bar styles
  • Add the Logo history text
  • Removed unused (and fully deprecated) Google Code from 404 page

Problems that I faced on local env:

  • Cannot run News and Security page, so I made changes directly on html and didn't test on live code itself, only in generated HTML (maaaaaybe because I'm using Windows?)
  • We need an if on line 134 (index.html) to not show the year if it's the current. I don't know how to do this on Django.
  • I may have broken the Announcement list accordion on the Security page (Support > Security) (need to view on a more stable env)
  • Download popup here just flashes, but I think that it's because I don't have anything to download. Needs a proper env to test.
  • Some screenshots doesn't have data because I don't have that data on my local env. I don't know why.

Screen Shot 2020-11-07 at 17 05 35-fullpage


image


Screen Shot 2020-11-07 at 17 05 59-fullpage


Screen Shot 2020-11-07 at 17 06 03-fullpage


Screen Shot 2020-11-07 at 17 06 29-fullpage


Screen Shot 2020-11-07 at 17 06 52-fullpage


Screen Shot 2020-11-07 at 17 07 09-fullpage


Screen Shot 2020-11-07 at 17 08 16-fullpage


Screen Shot 2020-11-07 at 17 08 23-fullpage


Screen Shot 2020-11-07 at 17 08 29-fullpage


Screen Shot 2020-11-07 at 17 09 40-fullpage

AdrianoCahete avatar Nov 07 '20 17:11 AdrianoCahete

On Mobile works, but it's pretty broken right now (gray block is the menu that I didn't put the icon yet, so made gray just to find the click area).

Screen Shot 2020-11-07 at 17 22 46-fullpage

AdrianoCahete avatar Nov 07 '20 17:11 AdrianoCahete

Very good work !

I will print this logo on a t-shirt ASAP when it is uploaded to the data repo :heart_eyes:

williamdes avatar Nov 07 '20 22:11 williamdes

Fixed the mobile now just... why not?

Screen Shot 2020-11-10 at 04 18 25-fullpage

AdrianoCahete avatar Nov 10 '20 04:11 AdrianoCahete

I think that we can proceed with review and fixes, then wait for the new brand to become available (I hope that the end of this week) to update it and merge.

We already finished the logo as a symbol itself, we're trying a few OSS typographies to match a better visual.

Conflicting files are because I changed the path and the elements inside, but the content is the same.

Edit: Can we deploy to a test environment with the actual server configs? My local has a lot of bugs (windows? hmmm -- yes, didn't install docker again :( )...

AdrianoCahete avatar Nov 10 '20 04:11 AdrianoCahete

Doing a lot of nothing these months, I made a preview Dark Theme (that respects browser definitions!) for the website, but since it's heavily untested, I prefer to leave commented out. if you want to proceed with that in the future, it's already in the code :)

127 0 0 1_8000_

AdrianoCahete avatar Nov 10 '20 05:11 AdrianoCahete

Menu @ Mobile (to be honest, every screen below than 900px wide)

menu

AdrianoCahete avatar Nov 10 '20 05:11 AdrianoCahete

Default Logo phpMyAdmin-Logo-Default

Symbol (when there's no space to use the default logo, like favicons) phpMyAdmin-Logo-Symbol

There's another one to use in dark backgrounds, but is only the symbol with a circle behind it. We don't have the full logo for use in dark backgrounds yet, but I don't think that it's the main concern right now.

The typography used was Montserrat, but I'll make the update with all the infos in the Brand Guide that we'll be made availiable later.

I'll update that PR and the data repository with the new logos by the end of the day.

AdrianoCahete avatar Nov 10 '20 18:11 AdrianoCahete

Ok, all brand is updated. Just waiting for you to test and merge! :)

AdrianoCahete avatar Nov 12 '20 13:11 AdrianoCahete

JFYI: I don't how do you handle the conflicts and merge strategies, but I don't have access to either.

AdrianoCahete avatar Nov 23 '20 03:11 AdrianoCahete

To be honest, I always have problems with the rebase, :( I don't know if I want to proceed or prefer that you resolve this.... hahaha

AdrianoCahete avatar Nov 25 '20 14:11 AdrianoCahete

To be honest, I always have problems with the rebase, :( I don't know if I want to proceed or prefer that you resolve this.... hahaha

We can rebase or merge locally with resolving conflicts, maybe another or 2 review would be okay so I can proceed with a merge. Maybe @ibennetch would be able to fix https://github.com/phpmyadmin/website/pull/137#discussion_r530316003 ? I do not charm pythons :snake: sorry ^^

williamdes avatar Nov 25 '20 21:11 williamdes

First, Happy New Year! :)

Now comes the question: is something missing to proceed to merge/deploy @ibennetch @mauriciofauth?

AdrianoCahete avatar Jan 04 '21 21:01 AdrianoCahete

Hi @AdrianoCahete, I rebased your pull request and I also fixed an issue with the template include paths.

MauricioFauth avatar Apr 24 '21 03:04 MauricioFauth

I may have broken the Announcement list accordion on the Security page (Support > Security) (need to view on a more stable env)

Yes, it is broken.

Some screenshots doesn't have data because I don't have that data on my local env. I don't know why.

Maybe you forgot to load the test data:

./manage.py migrate
./manage.py loaddata pmaweb/fixtures/test_data.json

See: https://github.com/phpmyadmin/website#development

MauricioFauth avatar Apr 24 '21 04:04 MauricioFauth

I think you should add a section on the home page for the Software Freedom Conservancy logo.

MauricioFauth avatar Apr 24 '21 04:04 MauricioFauth

I may have broken the Announcement list accordion on the Security page (Support > Security) (need to view on a more stable env)

Yes, it is broken.

Some screenshots doesn't have data because I don't have that data on my local env. I don't know why.

Maybe you forgot to load the test data:

./manage.py migrate
./manage.py loaddata pmaweb/fixtures/test_data.json

See: https://github.com/phpmyadmin/website#development

I tried, but it cannot run on Windows (ModuleNotFoundError: No module named 'urllib2'). But, to be honest, I'm receiving an error now when I try to run the website on my machine (not happened before or I managed to fix it on my end).

I'm a little busy right now, but I'll try to fix that in the next weeks.

AdrianoCahete avatar Apr 24 '21 22:04 AdrianoCahete

I think you should add a section on the home page for the Software Freedom Conservancy logo.

Right aligned on the same line/row as the Sponsors, maybe?

AdrianoCahete avatar Apr 24 '21 22:04 AdrianoCahete

I tried, but it cannot run on Windows (ModuleNotFoundError: No module named 'urllib2'). But, to be honest, I'm receiving an error now when I try to run the website on my machine (not happened before or I managed to fix it on my end).

Could be a python3 issue instead you would probably need to use python2

williamdes avatar Apr 24 '21 23:04 williamdes

I think you should add a section on the home page for the Software Freedom Conservancy logo.

Right aligned on the same line/row as the Sponsors, maybe?

I thought about a full width banner with the logo and some text.

MauricioFauth avatar Apr 24 '21 23:04 MauricioFauth

Sorry for my disappearance. I had a completely broken computer (and a completely new one!) and two new jobs in the past few months...

I'll try to run the project again (and maybe make a PoC in another language too) as soon as possible!

AdrianoCahete avatar Aug 25 '21 20:08 AdrianoCahete