-
Notifications
You must be signed in to change notification settings - Fork 32
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
chore: changed smart routing page ui #2168
base: main
Are you sure you want to change the base?
Conversation
</RenderIf> | ||
<div className="mt-6"> | ||
<div className="font-bold text-black my-2 text-lg"> | ||
{"Smart Routing Configurations"->React.string} |
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.
@Muditbhatia12 The text-size and text-color of all headings does not match, can you please fix that?
<TopLeftIcons routeType=value /> | ||
<TopRightIcons routeType=value /> | ||
</div> | ||
<div className="flex w-full items-center flex-wrap justify-between " /> |
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 div can be removed
src/screens/Routing/History.res
Outdated
@@ -1,13 +1,13 @@ | |||
open HistoryEntity | |||
module HistoryTable = { | |||
@react.component | |||
let make = (~records, ~activeRoutingIds: array<string>) => { | |||
let make = (~records, ~activeRoutingIds: array<string>, ~customTitle) => { |
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.
can you give the default title=" "
, because empty title throws error in this component
src/screens/Routing/History.res
Outdated
title="History" | ||
hideTitle=true | ||
title={customTitle} | ||
hideTitle=false |
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.
can you make value of hideTitle conditional
@Muditbhatia12 Verify the view in case of No rule is configured (check for a new account) |
Type of Change
Description
Changed smart routing page UI
Before
After
Motivation and Context
How did you test it?
Where to test it?
Checklist
npm run re:build