Skip to content

Improved: slider#4297

Merged
Alkarex merged 6 commits intoFreshRSS:edgefrom
math-GH:fix-slider-small-screen
Apr 11, 2022
Merged

Improved: slider#4297
Alkarex merged 6 commits intoFreshRSS:edgefrom
math-GH:fix-slider-small-screen

Conversation

@math-GH
Copy link
Copy Markdown
Contributor

@math-GH math-GH commented Mar 29, 2022

After:
grafik

  1. Fix slider width (750px). (There is no benefit to have a wider slider.
  2. Inputs/dropdowns/textareas could have a width of 50% and 100%. It improves the general layout and give the space for a better text input. The "extend" inputs are replaced with 100% widths inputs. No expanding & jumping inputs anymore.
  3. slim scrollbar for slider content
  4. deleted: the feed description. It is editable some centimeters below. It does not make sense to display redundant information.

In mobile view it looks also much better
grafik

Changes proposed in this pull request:

  • templates (.phtml)
  • CSS

How to test the feature manually:

  1. go to subscription management
  2. edit a feed
  3. see the slider content

Pull request checklist:

  • clear commit messages
  • code manually tested

@math-GH math-GH added the UI 🎨 User Interfaces label Mar 29, 2022
@math-GH math-GH added this to the 1.20.0 milestone Mar 29, 2022
@Alkarex Alkarex merged commit 5e28bf8 into FreshRSS:edge Apr 11, 2022
@math-GH math-GH deleted the fix-slider-small-screen branch April 12, 2022 19:44
<a href="<?= _url('stats', 'repartition', 'id', $this->feed->id()) ?>"><?= _i('stats') ?> <?= _t('sub.feed.stats') ?></a>
</div>

<p><?= sanitizeHTML($this->feed->description()) ?></p>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This was not supposed to be removed. #5320

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It was supposed to. See number 4:

deleted: the feed description. It is editable some centimeters below. It does not make sense to display redundant information.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It's not redundant fwiw; the one is plain text input and the removed one is HTML.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Here a screen shot of FreshRSS 1.19.0.
What is the benefit to see the description in (1), while it is written in (2) too?

grafik

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just for the record here as well: the (1) is in HTML, meaning that it can contain hyperlinks, images, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

UI 🎨 User Interfaces

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants