Skip to content

Add mindmap type file icon - #19942

Merged
ChristophWurst merged 5 commits into
nextcloud:masterfrom
ACTom:add-mindmap-icon
Dec 28, 2020
Merged

Add mindmap type file icon#19942
ChristophWurst merged 5 commits into
nextcloud:masterfrom
ACTom:add-mindmap-icon

Conversation

@ACTom

Copy link
Copy Markdown
Contributor

No description provided.

ACTom referenced this pull request in nextcloud/files_mindmap Mar 13, 2020

@ACTomACTom left a comment

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Just add a svg file

@kesselb

Copy link
Copy Markdown
Contributor

Thanks 👍

Are you the creator of the icon?

@ACTom

Copy link
Copy Markdown
ContributorAuthor

Yes, but I refer to this picture (https://marinettedognanny.com/wp-content/uploads/2018/10/social_icon.png)

@kesselb

Copy link
Copy Markdown
Contributor

cc @jancborchardt@schiessle

I'm not sure if we are able to use that icon. Mind to have a look for a icon available under MIT license? For example: https://feathericons.com

@kesselbkesselb added 3. to review Waiting for reviews enhancement labels Mar 14, 2020
@kesselbkesselb added this to the Nextcloud 19 milestone Mar 14, 2020
This was referenced Apr 4, 2020
@ACTom

Copy link
Copy Markdown
ContributorAuthor

@kesselb I used Inkscape to redraw this icon, and now I can confirm that this icon was made by me.

By the way, if I want to add mindmap type in core / js / mimetypelist.js, is it better to submit a new PR, or to submit it directly in this PR?

@kesselb

Copy link
Copy Markdown
Contributor

Thanks. Please submit another pr for the mime type.

@ACTom

Copy link
Copy Markdown
ContributorAuthor

@kesselb I see that this PR does not have reviewers yet, what do I need to do?

This was referenced Apr 15, 2020

@jancborchardtjancborchardt left a comment

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.

Could look a but more geometric and the lines are a bit thin, but seems fine.

Any particular reason for the choice of color? Ideally color always means something or is related to e.g. a popular product (like red for PDF).

@ACTom

Copy link
Copy Markdown
ContributorAuthor

Any particular reason for the choice of color? Ideally color always means something or is related to e.g. a popular product (like red for PDF).

There is no special reason. This color is chosen because it looks good, and it is different from the colors of other existing formats. You can clearly identify the file type in the list.

@ACTom

Copy link
Copy Markdown
ContributorAuthor

@juliushaertl Waiting for your review.

@kesselb

kesselb commented Apr 17, 2020

Copy link
Copy Markdown
Contributor

@ACTomhttps://twitter.com/frankdejonge/status/1236727595670134786 :)

It's already queued for 19 and will be reviewed in time.

@ACTom

Copy link
Copy Markdown
ContributorAuthor

@kesselb Oh, I'm sorry, thanks.

@rullzerrullzer mentioned this pull request Apr 23, 2020
11 tasks
@skjnldsv

Copy link
Copy Markdown
Member

Why do we need this icon in server?

@kesselb

kesselb commented Apr 23, 2020

Copy link
Copy Markdown
Contributor

For mindmap files :) Is there a way to add this image as app?

@skjnldsv

Copy link
Copy Markdown
Member

For mindmap files :) Is there a way to add this image as app?

No idea, but can't you not register mimetypes and provide your own img?

@skjnldsvskjnldsv left a comment

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.

But otherwise, sure

@kesselb

Copy link
Copy Markdown
Contributor

@ACTom

Copy link
Copy Markdown
ContributorAuthor

Try: https://github.community/t/update-a-forked-repository-when-the-original-repository-is-updated/1855

(don't forget to backup your work just in case)

Thanks, but where to fix Test\IntegrityCheck\CheckerTest::testVerifyCoreSignatureWithModifiedMimetypelistSignatureData fails? It need to modify https://github.com/nextcloud/server/blob/master/tests/lib/IntegrityCheck/CheckerTest.php .

@ACTom

Copy link
Copy Markdown
ContributorAuthor

@kesselb I have push a new PR to fix Test\IntegrityCheck\CheckerTest::testVerifyCoreSignatureWithModifiedMimetypelistSignatureData fails#23463

@kesselb

Copy link
Copy Markdown
Contributor

But the test does not fail on master.

  1. Rebase this branch and pull the latest changes from master (this repository not your fork)
  2. Merge your other patch into this branch

Then we can review in one go and also have a recent CI run.

@ACTom

Copy link
Copy Markdown
ContributorAuthor

But the test does not fail on master.
No, the fail exists on the master and has nothing to do with this PR, you can try it

@kesselb

Copy link
Copy Markdown
Contributor

I don't see the test failing on a recent CI run: https://drone.nextcloud.com/nextcloud/server/34193

But ignore this for now and rebase this branch to have a recent CI run.

@ACTom

Copy link
Copy Markdown
ContributorAuthor

I don't see the test failing on a recent CI run: https://drone.nextcloud.com/nextcloud/server/34193

But ignore this for now and rebase this branch to have a recent CI run.
@kesselb
I don't know if the link test set you gave is complete, but I pull the master code and execute ./autotest.sh or phpunit --bootstrap tests/bootstrap.php tests/lib/IntegrityCheck/CheckerTest.php then all reported that error, so I opened #23463 to fix it.

@kesselb

Copy link
Copy Markdown
Contributor

Please rebase this branch to have a recent CI run.

Signed-off-by: ACTom <i@actom.me>
Signed-off-by: ACTom <i@actom.me>
Signed-off-by: ACTom <i@actom.me>
@ACTom

Copy link
Copy Markdown
ContributorAuthor

@ChristophWurst@rullzer Can you review it?

@szaimen

Copy link
Copy Markdown
Contributor

Ping @rullzer

@ChristophWurstChristophWurst left a comment

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.

Fine by me

Comment threadtests/lib/IntegrityCheck/CheckerTest.php
@ChristophWurstChristophWurst added this to the Nextcloud 21 milestone Dec 21, 2020
@rullzerrullzer mentioned this pull request Dec 22, 2020
39 tasks
Signed-off-by: ACTom <i@actom.me>
@ChristophWurst
ChristophWurst merged commit b981cb0 into nextcloud:masterDec 28, 2020
@szaimen

Copy link
Copy Markdown
Contributor

🎉

@rullzerrullzer mentioned this pull request Dec 28, 2020
39 tasks
@nursoda

Copy link
Copy Markdown

Wait, there's a patch for NC 19 and 21 but not for 20? Or did I overlook something?

@kesselb

Copy link
Copy Markdown
Contributor

21

@skjnldsv

Copy link
Copy Markdown
Member

/backport to stable20

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

Labels

3. to reviewWaiting for reviewsenhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@ACTom@kesselb@skjnldsv@juliusknorr@ChristophWurst@szaimen@nursoda@rullzer@jancborchardt@georgehrke