-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
feat: Branding #18717
feat: Branding #18717
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Unable to find test scripts. Please add necessary tests to the PR. |
Signed-off-by: Shrikant Sharat Kandula <[email protected]>
type: ReduxActionTypes.RESTART_SERVER_POLL, | ||
}); | ||
|
||
if (needsRestart) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the variable name here isn't correct. If I'm not wrong, branding changes after saving don't need a server restart, correct? While other settings need.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oopps. My bad. Let me fix it. I goofed while copying code from EE repo.
@@ -26,6 +26,7 @@ import { extractColorsFromString } from "utils/helpers"; | |||
import { TAILWIND_COLORS } from "constants/ThemeConstants"; | |||
import useDSEvent from "utils/hooks/useDSEvent"; | |||
import { DSEventTypes } from "utils/AppsmithUtils"; | |||
import { getTenantConfig } from "ce/selectors/tenantSelectors"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update the import to use @appsmith
border: red; | ||
z-index: 1; | ||
display: flex; | ||
border: 1px solid #e0dede; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can use CSS variables for color here.
@@ -26,36 +25,23 @@ import MobileSideBar from "./MobileSidebar"; | |||
import { Indices } from "constants/Layers"; | |||
import { Icon, IconSize } from "design-system"; | |||
import { getTemplateNotificationSeenAction } from "actions/templateActions"; | |||
import { getTenantConfig } from "ce/selectors/tenantSelectors"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use @appsmit
h here as well in the import
const image = new Image(); | ||
image.src = window.URL.createObjectURL(file); | ||
|
||
image.onload = function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file name is .tsx
in EE PR. Just giving heads up you will face merge-conflict later in EE.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's okay. I'll use .ts
only. .tsx
was wrong before
app/client/yarn.lock
Outdated
version "1.0.34" | ||
resolved "https://registry.yarnpkg.com/@appsmithorg/design-system/-/design-system-1.0.34.tgz#ebf63414bec56fecb5c1d5c3464aee91363a151b" | ||
integrity sha512-4epvp8Q2X3mH2UV/yvEzdCCrDPiayV2WKR6t6zS5N6O46DIqQfAVbKqANNqEFlMcZMMmzvr6MEBV6PS0arK1yw== | ||
"design-system@npm:@appsmithorg/[email protected]": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think in package.json
the version is 37-alpha.7 which doesn't match the version in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll be using a stable version once i get a sign off from review and qa.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Since you have changed the path for
favicon-orange.ico
, please update the path inmanifest.json
file as well. Also, if it is used in any other files, then those too. - Should we add messages to
img
alt
all over in the new pages you created?
Everything else looks good to me.
app/client/public/manifest.json
Outdated
@@ -3,7 +3,7 @@ | |||
"name": "Appsmith Client Web UI", | |||
"icons": [ | |||
{ | |||
"src": "favicon-orange.ico", | |||
"src": "/static/img/favicon-orange.ico", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure but I think the first /
is not required. Have you checked this out locally?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/ok-to-test sha=70c3a3a |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3654910427. |
/ok-to-test sha=0f715a4 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3655808055. |
… into feat/branding
/ok-to-test sha=fe06121 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3657169089. |
Important Review skippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 24 files out of 81 files are above the max files limit of 50. Please upgrade to Pro plan to get higher limits. You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
Allow super admin to set favicon, logo, and primary color according to their brand for their instance.
![image](https://user-images.githubusercontent.com/6636360/206670380-8fa0fd32-1962-4d09-a4b9-3d264c667c6f.png
Fixes #16217
Fixes #16216
Fixes #16215
Fixes #16214
Fixes #16213
Type of change
How Has This Been Tested?
Checklist:
Dev activity
QA activity: