Skip to content
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

Show changelog in apps management #21082

Merged
merged 1 commit into from
Sep 3, 2020
Merged

Show changelog in apps management #21082

merged 1 commit into from
Sep 3, 2020

Conversation

juliusknorr
Copy link
Member

This will use the changelog provided by the most recent app store release and show it in the apps management sidebar if available.

Besides that I also did some code cleanup, migrated to use the new sidebar tabs for description/changelog and removed the list transition which had quite a negative performance impact when searching and switching between app categories.

With a changelog:
image
image

Without a changelog:
image

@jancborchardt
Copy link
Member

Very nice! Only minor thing is that we should call it "What’s new" instead of "Changelog" which is a bit bland and technical. :)

Copy link
Contributor

@GretaD GretaD left a comment

Choose a reason for hiding this comment

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

tested and works

Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

See comment for wording change (I would add it directly but somehow often the build process for the apps in core messes stuff up for me).

@rullzer
Copy link
Member

rullzer commented Jun 6, 2020

needs a rebase and the comment from @jancborchardt addressed

@juliusknorr
Copy link
Member Author

I'll wait for #18969 with the rebase since I forgot that @skjnldsv was already worked on the sidebar migration. Once that is done I'll just pick the relevant changelog changes.

@skjnldsv
Copy link
Member

skjnldsv commented Jul 9, 2020

I'll wait for #18969 with the rebase since I forgot that @skjnldsv was already worked on the sidebar migration. Once that is done I'll just pick the relevant changelog changes.

Thanks! 🙇 ❤️

@jancborchardt
Copy link
Member

Btw @juliushaertl to make it simpler and also work better on mobile, we could just put the changelog below the description/links instead of using tabs.

This is also how the Android Play store and the iOS app store essentially do it. To alleviate the case of a very long description, we can set some max-height which will expand on click – exactly like we do for the rich workspaces.

@MorrisJobke MorrisJobke mentioned this pull request Aug 11, 2020
57 tasks
@rullzer
Copy link
Member

rullzer commented Aug 13, 2020

@juliushaertl still something we can tackle for 20?

@juliusknorr
Copy link
Member Author

Not before #18969

@skjnldsv
Copy link
Member

Not before #18969

will dive into it again soon

@rullzer
Copy link
Member

rullzer commented Aug 20, 2020

soooo?

@skjnldsv skjnldsv added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Aug 20, 2020
@rullzer rullzer mentioned this pull request Aug 21, 2020
19 tasks
@kesselb kesselb linked an issue Aug 26, 2020 that may be closed by this pull request
@rullzer rullzer mentioned this pull request Aug 27, 2020
21 tasks
@juliusknorr
Copy link
Member Author

Force-pushed the changelog only changes now based on master.

@juliusknorr juliusknorr removed the 2. developing Work in progress label Sep 1, 2020
@juliusknorr juliusknorr added the 3. to review Waiting for reviews label Sep 1, 2020
@faily-bot
Copy link

faily-bot bot commented Sep 1, 2020

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 32532: failure

jsunit

Show full log
PhantomJS 2.1.1 (Linux 0.0.0) WARN: 'No OC found'
PhantomJS 2.1.1 (Linux 0.0.0) LOG: 'JQMIGRATE: Migrate is installed, version 1.4.1'
PhantomJS 2.1.1 (Linux 0.0.0) WARN: 'jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.'
PhantomJS 2.1.1 (Linux 0.0.0) WARN: '$ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.'
PhantomJS 2.1.1 (Linux 0.0.0) WARN: 'Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20'
PhantomJS 2.1.1 (Linux 0.0.0) DEBUG: 'OCA.Files.Settings initialized'
PhantomJS 2.1.1 (Linux 0.0.0) DEBUG: 'OCA.Files.Sidebar initialized'
PhantomJS 2.1.1 (Linux 0.0.0) DEBUG: 'OCA.Sharing.ShareSearch initialized'
PhantomJS 2.1.1 (Linux 0.0.0) DEBUG: 'OCA.Sharing.ExternalLinkActions initialized'
PhantomJS 2.1.1 (Linux 0.0.0): Executed 847 of 850 (skipped 3) SUCCESS (14.094 secs / 13.473 secs)

mariadb10.1-php7.2

Show full log
There were 2 warnings:

1) Test\Files\ViewTest::testRenameFailDeleteTargetKeepSource
Trying to configure method "writeStream" which cannot be configured because it does not exist, has not been specified, is final, or is static

2) Test\Files\ViewTest::testCopyFailDeleteTargetKeepSource
Trying to configure method "writeStream" which cannot be configured because it does not exist, has not been specified, is final, or is static

--

There was 1 failure:

1) OCA\DAV\Tests\unit\CardDAV\CardDavBackendTest::testSearch with data set "case insensitive" ('john', array('FN'), array(), array(array('uri0', 'John Doe'), array('uri1', 'John M. Doe')))
Failed asserting that 1 is identical to 2.

/drone/src/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php:746

mariadb10.4-php7.3

Show full log
There were 2 warnings:

1) Test\Files\ViewTest::testRenameFailDeleteTargetKeepSource
Trying to configure method "writeStream" which cannot be configured because it does not exist, has not been specified, is final, or is static

2) Test\Files\ViewTest::testCopyFailDeleteTargetKeepSource
Trying to configure method "writeStream" which cannot be configured because it does not exist, has not been specified, is final, or is static

--

There was 1 failure:

1) Test\Share20\DefaultShareProviderTest::testGroupDeleted with data set #1 (array(0, 'user', array()), 'user', false)
Failed asserting that actual size 0 matches expected size 1.

/drone/src/tests/lib/Share20/DefaultShareProviderTest.php:2418

<AppDetails :app="app" />
</AppSidebarTab>
<AppSidebarTab v-if="app.appstoreData && app.releases[0].translations.en.changelog"
id="desca"
Copy link
Member

Choose a reason for hiding this comment

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

desca ?

Suggested change
id="desca"
id="changelog"

Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

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

Minor nitpick! :)
Great job!!! 🚀 😍

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 1, 2020
@rullzer rullzer mentioned this pull request Sep 3, 2020
13 tasks
@rullzer
Copy link
Member

rullzer commented Sep 3, 2020

/compile amend /

Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
@rullzer rullzer merged commit c205fac into master Sep 3, 2020
@rullzer rullzer deleted the enh/noid/apps-settings branch September 3, 2020 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement feature: apps management
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Req: Show change logs for app updates
5 participants