parse-dashboard icon indicating copy to clipboard operation
parse-dashboard copied to clipboard

feat: add custom branding with icon, brand name and color

Open stepanic opened this issue 4 years ago • 19 comments

parse-dashboard-config.json is improved with this options:

...
"customBrandIcon": "scanshop-logo-transparent.svg",
"customBrandTitle": "ScanShop Dashboard",
"customBrandColorPrimary": "#00A0FF",
...

NOTE: favicon and HTML title are on purpose kept unchanged and background color inside of React app.

This is initial version of custom branding, any more advanced custom branding could be implemented in another PR.

From default sidebar default-sidebar to branded sidebar branded-sidebar

From default login form default-login-form to branded login form branded-login-form

stepanic avatar Feb 20 '21 21:02 stepanic

Danger run resulted in 1 warning; to find out more, see the checks page.

Generated by :no_entry_sign: dangerJS

ghost avatar Feb 20 '21 21:02 ghost

@404-html the both comments solved.

stepanic avatar Feb 27 '21 12:02 stepanic

@stepanic Thanks for this PR! And apologies that it didn't get much review attention anymore. We are on a spree now to close all open PRs. Could you rebase this on master and resolve any merge conflicts? It would be amazing if we could get this merged!

mtrezza avatar Sep 04 '21 22:09 mtrezza

@stepanic Thanks for this PR! And apologies that it didn't get much review attention anymore. We are on a spree now to close all open PRs. Could you rebase this on master and resolve any merge conflicts? It would be amazing if we could get this merged!

@mtrezza conflict was resolved.

stepanic avatar Sep 05 '21 11:09 stepanic

That was amazingly fast! I'll review this feature, @404-html do you maybe have any input in the meantime?

mtrezza avatar Sep 05 '21 12:09 mtrezza

Nothing new from me, thanks for asking. I left some suggestions back in the day but nothing urgent 👍

404-html avatar Sep 05 '21 15:09 404-html

Great! Could you look through the suggestions and see which ones you would mark as resolved? It seems most have been addressed.

mtrezza avatar Sep 05 '21 16:09 mtrezza

@404-html I see that you left suggestions on 2021-05-19, which are only README related will you commit them and then integrate this PR?

stepanic avatar Sep 05 '21 18:09 stepanic

Sorry @stepanic, looks like I don't have permission: image Also, I can't see an option to resolve those. Is there any "Apply" button next to my suggestions? If not I think we can skip them, they are minor.

404-html avatar Sep 07 '21 19:09 404-html

@404-html This may be if you had write access at some point. We have recently changes our permission model and are limiting write permissions to reviewers to are active on a regular basis, for security reasons, because the write permissions are quite wide-ranging.

@stepanic Could you incorporate the change suggestions and resolve the conversations that have been addressed? Then we can easily see whether there are any open questions. I'm preparing a release, so it would be great to get this feature in there.

mtrezza avatar Sep 07 '21 22:09 mtrezza

@mtrezza @404-html suggestions commited

stepanic avatar Sep 08 '21 20:09 stepanic

@stepanic There have been some merges on master, could you please rebase/merge and then request a review?

mtrezza avatar Sep 09 '21 12:09 mtrezza

@mtrezza merged with master without conflicts :D

$ git merge upstream/master
Auto-merging src/components/LoginForm/LoginForm.react.js
Removing server.js
Auto-merging README.md
Merge made by the 'recursive' strategy.
 .github/workflows/ci.yml                    |  169 +++-
 .github/workflows/docker-publish.yml        |   62 ++
 CHANGELOG.md                                |    8 +
 Dockerfile                                  |    4 +-
 Parse-Dashboard/Authentication.js           |   34 +-
 Parse-Dashboard/CLI/mfa.js                  |  225 +++++
 Parse-Dashboard/CLI/utils.js                |    7 +
 Parse-Dashboard/CLIHelper.js                |    6 +
 Parse-Dashboard/index.js                    |   11 +
 README.md                                   |   43 +-
 ci/CiVersionCheck.js                        |  290 ++++++
 ci/ciCheck.js                               |   36 +
 ci/nodeEngineCheck.js                       |  187 ++++
 package-lock.json                           | 5489 +++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------
 package.json                                |   22 +-
 server.js                                   |   19 -
 src/components/LoginForm/LoginForm.react.js |    1 +
 src/dashboard/Dashboard.js                  |    2 +
 src/lib/stores/SchemaStore.js               |    4 +-
 src/login/Login.js                          |   39 +-
 20 files changed, 3332 insertions(+), 3326 deletions(-)
 create mode 100644 .github/workflows/docker-publish.yml
 create mode 100644 Parse-Dashboard/CLI/mfa.js
 create mode 100644 Parse-Dashboard/CLI/utils.js
 create mode 100644 Parse-Dashboard/CLIHelper.js
 create mode 100644 ci/CiVersionCheck.js
 create mode 100644 ci/ciCheck.js
 create mode 100644 ci/nodeEngineCheck.js
 delete mode 100755 server.js

stepanic avatar Sep 15 '21 10:09 stepanic

@stepanic Could you please merge master into this? It again became out-of-date with the base branch. I'll make sure to review this next, so you don't have to do this again.

mtrezza avatar Sep 16 '21 10:09 mtrezza

@mtrezza merged again :D

stepanic avatar Sep 16 '21 11:09 stepanic

@stepanic If you have some time, it would be great if you could look over the feedback above, so we can merge this PR.

mtrezza avatar Sep 27 '21 12:09 mtrezza

@visualfanatic If you are interested in completing this PR, I think there is not much missing. The feature now has a bounty applied to it since the PR has become stale.

mtrezza avatar Oct 20 '21 14:10 mtrezza

I would love to see this landing!

andreafalzetti avatar Nov 20 '21 23:11 andreafalzetti

@andreafalzetti Feel free to pick it up if you like, it seems to be almost done.

mtrezza avatar Nov 21 '21 13:11 mtrezza