Skip to content

Improved: update page#5420

Merged
Alkarex merged 29 commits intoFreshRSS:edgefrom
math-GH:improve-update-page
Jun 13, 2023
Merged

Improved: update page#5420
Alkarex merged 29 commits intoFreshRSS:edgefrom
math-GH:improve-update-page

Conversation

@math-GH
Copy link
Contributor

@math-GH math-GH commented May 22, 2023

Goal: The update page has the default style and looks more clean.

The update mechanism itself was not touched

Before:
grafik

grafik

After:

  • a link to the changelog added
  • show the release channel (Development/Nightly or Stable), based on the current version number (Development = with -dev, stable = without -dev)
  • blue button
  • button in the current style for submit buttons
  • default "table" layout
  • renamed a bit the buttons
    grafik

The branch name is shown, if it will update via git
grafik

When user clicks on the Start update button, then the button turns into a grey deactivated button inkl. a loading gif until the update is done.
grafik

Here a picture if the update is via update.freshrss.org and not via git:
grafik

How it looks like if it is a stable version
grafik

grafik

While/After updating an entry will added to the log with information about the update.

How to test the feature manually:

How to manipulate:
return false = it will use the update via update.freshrss.org
https://github.com/FreshRSS/FreshRSS/blob/445cc23abdda5767b622d70cf7b5eb5310dcf908/app/Controllers/updateController.php#LL7C1-L9C3

release channel (Development/Nightly or Stable), based on the current version number (Development = with -dev, stable = without -dev)

const FRESHRSS_VERSION = '1.21.1-dev';

Pull request checklist:

  • clear commit messages
  • code manually tested

@math-GH math-GH added UI 🎨 User Interfaces UX User experience labels May 22, 2023
@math-GH math-GH added this to the 1.22.0 milestone May 22, 2023
@math-GH math-GH added the Feedback wanted Please give feedback label May 23, 2023
Copy link
Contributor

@ColonelMoutarde ColonelMoutarde left a comment

Choose a reason for hiding this comment

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

Small recommendations ;)

math-GH and others added 3 commits May 29, 2023 22:31
@Alkarex
Copy link
Member

Alkarex commented Jun 8, 2023

I have updated a bit the terminology 8dd4a38

@math-GH math-GH marked this pull request as ready for review June 12, 2023 21:06
@math-GH
Copy link
Contributor Author

math-GH commented Jun 12, 2023

Ready for final review

@Alkarex Alkarex merged commit 3d9e0c4 into FreshRSS:edge Jun 13, 2023
@math-GH math-GH deleted the improve-update-page branch June 13, 2023 20:40
math-GH added a commit to math-GH/FreshRSS that referenced this pull request Jul 4, 2023
* prependTitle()

* do not need the "damn" in the alert

* update page layout improved

* release channel

* i18n labels

* add log messages while updating

* Delete updatee.php

* Update updateController.php

* Update updateController.php

* Update updateController.php

* Update updateController.php

* add getCurrentGitBranch()

* Update updateController.php

* state2 buttons

* i18n

* loading

* Update feedback.php

* Update feedback.php

* Update feedback.php

* Update extra.js

* Apply suggestions from code review

Co-authored-by: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com>

* Update updateController.php

* Update terminology

* update button is now armed

---------

Co-authored-by: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feedback wanted Please give feedback UI 🎨 User Interfaces UX User experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants