-
Notifications
You must be signed in to change notification settings - Fork 20
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
Boundary screen #1462
base: console-develop-v0.3
Are you sure you want to change the base?
Boundary screen #1462
Changes from all commits
cc508ba
884faae
e37e65d
fa0d4ed
8be2847
dd48bb2
5248f9b
470b90d
d536811
60e21d5
9ff2edf
8d19a9d
422599f
1be6bbd
d928ebf
90f02b5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" /> | ||
|
||
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" /> | ||
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected].72-campaign/dist/index.css" /> | ||
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected].73-campaign/dist/index.css" /> | ||
|
||
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" /> | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@egovernments/digit-ui-css", | ||
"version": "1.0.72-campaign", | ||
"version": "1.0.73-campaign", | ||
"license": "MIT", | ||
"main": "dist/index.css", | ||
"author": "Jagankumar <[email protected]>", | ||
|
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -96,4 +96,17 @@ | |||||||||||||||||||||||||||||||||||
background-color: #fbe9e6; | ||||||||||||||||||||||||||||||||||||
border-color: #dc5a32; | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||
.subBoundarycomp-container{ | ||||||||||||||||||||||||||||||||||||
display:inline-flex; | ||||||||||||||||||||||||||||||||||||
flex-wrap:wrap; | ||||||||||||||||||||||||||||||||||||
gap:0.125rem; | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
Comment on lines
+100
to
+104
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) LGTM with a minor suggestion for consistency. The For consistency with other class names in the file, consider using kebab-case: -.subBoundarycomp-container{
+.sub-boundary-comp-container {
display: inline-flex;
flex-wrap: wrap;
gap: 0.125rem;
} 📝 Committable suggestion
Suggested change
|
||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||
.view-more{ | ||||||||||||||||||||||||||||||||||||
text-decoration: underline; | ||||||||||||||||||||||||||||||||||||
cursor:pointer; | ||||||||||||||||||||||||||||||||||||
color:orange; | ||||||||||||||||||||||||||||||||||||
margin-top: 0.2rem; | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
Comment on lines
+106
to
+111
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Enhance consistency and user experience for the The
Here's a suggested improvement: .view-more {
text-decoration: underline;
cursor: pointer;
- color: orange;
- margin-top: 0.2rem;
+ color: #f47738; /* Consistent with other orange elements */
+ margin-top: 0.2em;
+ transition: color 0.3s ease;
+}
+
+.view-more:hover {
+ color: #e26f34; /* Darker shade for hover state */
} 📝 Committable suggestion
Suggested change
|
||||||||||||||||||||||||||||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -15,6 +15,7 @@ import HeaderComp from "./components/HeaderComp"; | |||||||||||
import FormulaSection from "./components/FormulaSectionCard"; | ||||||||||||
import FormulaView from "./components/FormulaView"; | ||||||||||||
import SummaryScreen from "./pages/employee/SummaryScreen"; | ||||||||||||
import CampaignBoundary from "./components/CampaignBoundary"; | ||||||||||||
|
||||||||||||
export const MicroplanModule = ({ stateCode, userType, tenants }) => { | ||||||||||||
const { path, url } = useRouteMatch(); | ||||||||||||
|
@@ -60,7 +61,8 @@ const componentsToRegister = { | |||||||||||
HeaderComp, | ||||||||||||
FormulaView, | ||||||||||||
FormulaSection, | ||||||||||||
SummaryScreen | ||||||||||||
SummaryScreen, | ||||||||||||
CampaignBoundary | ||||||||||||
Comment on lines
+64
to
+65
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) LGTM: CampaignBoundary added to componentsToRegister The Consider removing the extra newline between SummaryScreen,
- CampaignBoundary
-
+ CampaignBoundary
}; 📝 Committable suggestion
Suggested change
|
||||||||||||
|
||||||||||||
|
||||||||||||
}; | ||||||||||||
|
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.
💡 Codebase verification
Multiple CSS Versions Detected: Potential for Conflicts
The file
health/micro-ui/web/micro-ui-internals/example/public/index.html
imports multiple versions of@egovernments/digit-ui-css
, including:1.0.50-microplan
1.0.73-campaign
1.5.41
1.8.0-alpha.6
1.8.2-beta.11
Using multiple CSS versions can lead to style conflicts, increased load times, and maintenance challenges.
Recommended Actions:
🔗 Analysis chain
LGTM: CSS version update approved.
The update of the @egovernments/digit-ui-css package from version 1.0.72-campaign to 1.0.73-campaign looks good. This minor version bump likely includes small improvements or bug fixes.
However, I'd like to bring attention to a few points:
To verify the impact of this change, you can run the following script:
This script will help ensure that the version update has been applied consistently and provide an overview of all CSS versions in use.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 925