Coder Social home page Coder Social logo

flathub-infra / linux-store-frontend Goto Github PK

View Code? Open in Web Editor NEW
191.0 18.0 55.0 4.71 MB

A web application to browse and install applications present in Flatpak repositories. Powers https://www.flathub.org

License: Apache License 2.0

TypeScript 58.50% JavaScript 2.06% HTML 21.74% Shell 3.30% Dockerfile 0.17% SCSS 14.24%
flatpak

linux-store-frontend's People

Contributors

angular-cli avatar asciiwolf avatar athwale avatar barthalion avatar bertob avatar bfkelsey avatar bilelmoussaoui avatar calinou avatar cpba avatar dafnik avatar dependabot[bot] avatar eonfge avatar hoxia avatar iamjahoo avatar idunno101 avatar iennae avatar itea-dev avatar jameswestman avatar jgarciao avatar jhorbowicz avatar jimmac avatar jurf avatar linkmauve avatar mwleeds avatar nedrichards avatar ramcq avatar razzeee avatar splitt3r avatar takluyver avatar tingping avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

linux-store-frontend's Issues

Show metadata

Just like KDE Discover and Gnome Software, Flathub could list the version, size, license and homepage below the description.

grafik

Cannot open apps links in new tab

What happen:

  1. Open the demo site and navigate to the apps list
  2. Try to open an app in a new tab - eg by right clicking on a tile and selecting open in new tab or by holding Ctrl and clicking the mouse
  3. Notice that one is unable to open the app in a new tab, a Ctrl+click actually opens in the existing tab

What I expected to happen:
At step 3 to be able to open an app in a new tab

Scenario:
A user is browsing the web frontend and notices multiple apps that seem interesting and they potentially want to install, so that they don't forget or have to search the list again they want to open each interesting app in a new tab. Then once they have found all the apps that are interesting to them they want to view each tab to decide if they want to install the app.

Currently this scenario is tricky as the user has to click on app A, view the page determine if they want it. Then select back, find where they were in the list and then find the next interesting app etc. This causes lots of switching between pages for the user.

Missing "the" on the home page

The first paragraph reads:

"Welcome to Flathub, the home of hundreds of apps which can be easily installed on any Linux distribution. Browse the apps online, from your app center or command line."

It should read:

"Welcome to Flathub, the home of hundreds of apps which can be easily installed on any Linux distribution. Browse the apps online, from your app center, or the command line."

Install button doesn't do anything

Since we are using the flatpakref files generated at flathub.org, clicking on the Install button doesn't work because of CORS.

We need to configure the nginx server to enable calls from beta.flathub.org, flathub.org and the staging server http://45.55.104.129

error-downloading-flatpakref

Collapse Install Instructions for Apps on Flathub.

The new designs are fantastic. However, the install instructions take the bigger part of every app page and yet they are all more or less the same. It would be nice if these instructions are collapsed by default and are only shown when the user needs them.

Apps with no description result in empty white box

What happened:

  1. Navigate to the test site
  2. Select an application that doesn't have a description [0] [1] [2]
  3. Notice how as the app does not have a description you are left with an empty white box

What I expected to happen:
At step 3 for the description title and white box to be hidden

screenshot from 2017-11-15 22-42-07

Note: I wonder if having no description should even be valid for appstream data ? But this site should protect itself anyway.

0 - http://45.55.104.129/apps/details/io.atom.Atom
1 - http://45.55.104.129/apps/details/com.skype.Client
2 - http://45.55.104.129/apps/details/com.spotify.Client

Some text links don't change the cursor to a pointer

What happened:

  1. Navigate to the demo site
  2. Find a link which is in part of the text, eg on the home page there is "download"
  3. Hover your cursor over the text
  4. Notice that the cursor does not change to a pointer (hand)

What I expected to happen:
At step for the cursor to change to a pointer. Note that image links do correctly change, and that text links in the install instructions are fine - it is only in the main descriptions.

screenshot from 2017-09-28 21-51-48

Improve "Install button"

In the app details page, the "Install" button uses the File Saver component. Maybe it will work better with a regular link

Tile hover effect lags

I'm not sure what exactly causes this, but the hover effect noticeably lags for me. Logging with Firefox' inspector shows quite a few style recalculations and style changes being applied just when changing the cursor position from one tile to another. Could this be replaced by some on:hover CSS?

Browser: Firefox 58
Installed extensions: Disconnect, uBlock Origin

Improve search

Right now searching Gimp returns nothing because search only looks in name and summary fields. In this case the name is GNU Image Manipulation Program and summary doesn't mention GIMP

  • Quick fix: search also in flatpakappid
  • Extendend fix: store keywords in the database and search also by keywords

Ability to filter by architecture

During discussion in flathub/flathub#250 it became apparent that the user might want to filter the store to only show their architecture (eg arm64).

Use case, I have an arm64 device and want to know which flatpak's will run on my device.

Currently the store shows only x86_64. It should be noted that i386 flatpak's can be installed on a x86_64 host - not sure how this should be indicated to the user? (Could show i386 flatpak's when filtered by x86_64).

App list is sorted with case sensitivity (it should be case insensitive) and apps are not shown in title case

What happened:

  1. Navigate to the applications page [0]
  2. Scroll right to the bottom
  3. Notice that applications starting with lowercase names are sorted after uppercase. Eg "darktable" and "gedit" are after "Videos" and "Weather"

What I expected to happen:
At step 3 for the applications to be sorted in a case insensitive way. Also the existing flathub site [1] shows all names in title case (first character of each word capitalised) I wonder if this site should be the same? Eg "Tux, of Math Command" becomes "Tux, Of Math Command".

Demo Site

Notice the positioning of darktable and gedit
screenshot from 2017-11-15 22-45-55

Existing flathub site

Notice in the existing site [1] that they are sorted case insensitive (see darktable is inbetween CuteMarkEd and Dconf Editor)
screenshot from 2017-11-15 22-46-11

0 - http://45.55.104.129/apps
1 - https://flathub.org/apps.html

Install instructions has a horizontal and vertical scrollbar

What happened:

  1. Go to the demo page
  2. Go to the list of applications
  3. Click on an application and scroll down to the bottom
  4. Change install instructions to "Command line"
  5. Notice that there is both horizontal and vertical scrollbars

What I expected to happen:
At step 5 I expected only the horizontal scrollbar to be visible and for the content not to be limited in height. Note if you switch to "Click to download" the vertical height is actually larger.

screenshot from 2017-09-28 21-46-36

Reduce website download size

Metrics on chrome with v. 0.4.0 after CONTROL+F5 with clean cache:

Page Requests Transferred Time
Using flathub 17 requests 726 KB transferred Finish: 1.37 s
Apps (151apps) 168 requests 2.5MB transferred Finish: 4.42 s (first apps icons appear at 1.46 s)
App description (0 A.D) 18 requests 777 KB transferred Finish: 1.34 s

Things that can be done to reduce size:

  • Update to Angular 5 #25
  • Remove unused fonts and/or transfer them compressed #26
  • Use material progress spinner in the app shell instead of the current one, so FontAwesome is not required #27
  • Optimize image size (icons, screenshots, ...) to reduce size without compromising quality #28
  • Use responsive images
  • Paginate app list

App icons and names should always be next to each other

On the app pages, the app name is on the left side and the icon is on the right side. Since these two elements are part of the application's identity, they belong together. By convention, the icon should go first, followed by the name.

App description tooltips aren't great

When you hover over an app tile, a tooltip is shown with the full description. This isn't great for a few reasons - it repeats the description that's already shown above, and it's distracting.

A better solution would be to increase the amount of space for the descriptions in the tiles.

I observed this issue testing the following instance: http://45.55.104.129/home

When there is one screenshot, clicking on it results in loading animation

What happened:

  1. Navigate to an app that only has one screenshot, eg gedit [0]
  2. Click on the larger screenshot
  3. Notice how a loading animation appears and never finishes (see screenshot below).

What I expected to happen:
At step 3 for the same image to be shown as there is only one.

Note: That clicking on the larger screenshot, when there are multiple, cycles through the screenshots.

0 - https://beta.flathub.org/apps/details/org.gnome.gedit

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.