-
Notifications
You must be signed in to change notification settings - Fork 0
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
[EASI-4468] related systems column #2777
Conversation
…dme for `sqlqueries`
@@ -0,0 +1,3 @@ | |||
### Package `sqlqueries` |
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.
moved from an empty go
file with same (similar) documentation
func (s *Store) GetMySystemIntakes(ctx context.Context) ([]*models.SystemIntake, error) { | ||
var intakes []*models.SystemIntake | ||
|
||
err := namedSelect(ctx, s, &intakes, sqlqueries.SystemIntake.GetByUser, args{ | ||
"eua_user_id": appcontext.Principal(ctx).Account().Username, | ||
}) | ||
|
||
return intakes, err | ||
} |
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.
core BE change
func GetMySystemIntakes(ctx context.Context, store *storage.Store) ([]*models.SystemIntake, error) { | ||
return store.GetMySystemIntakes(ctx) | ||
} |
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.
core BE change
|
||
import '../index.scss'; | ||
|
||
const calcSystemIntakeNextMeetingDate = ( |
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.
core UI change
|
||
const columns: any = useMemo(() => { | ||
const columns: Column<MergedRequestsForTable>[] = useMemo< |
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.
core UI changes in here
@@ -0,0 +1,10 @@ | |||
export interface MergedRequestsForTable { |
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.
new type for merged types
…EASI-4468/related_systems_column
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.
Nice job!
Can you take a look at the table code to see if you can make the column a bit wider to match the Figma? Probably not worth holding this up unless it's a quick fix. I'll go ahead and approve since everything else looks good on the frontend.
…EASI-4468/related_systems_column
…EASI-4468/related_systems_column
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.
Thanks for making that change! Everything looks good 👍🏻
EASI-4468
Description
Related systems
columnHow to test this change
My open requests
PR Author Checklist
PR Reviewer Guidelines