Skip to content

feat: display organization names in previously logged in list#3234

Merged
kimskimchi merged 9 commits intomainfrom
kimskimchi/ui-9
Sep 20, 2022
Merged

feat: display organization names in previously logged in list#3234
kimskimchi merged 9 commits intomainfrom
kimskimchi/ui-9

Conversation

@kimskimchi
Copy link
Contributor

Display organization names on the list of previously visited organization login pages.

image

key={o.url}
className='my-2 inline-flex w-full items-center justify-between rounded-md border border-gray-300 bg-white py-2.5 px-4 text-xs text-gray-500 shadow-sm hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2'
>
{o.name}
Copy link
Contributor

@hoyyeva hoyyeva Sep 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets style this a little bit
maybe we can convert this whole <a /> to an <button />
something like this - you might want to play around a bit though
<button onClick={...} key={o.url} title={${o.name} — ${o.url}} className='my-2 inline-flex w-full items-center rounded-md border border-gray-300 bg-white py-2.5 px-4 shadow-sm hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2' > <div className='text-xs text-gray-500'>{o.name}</div> <div className='text-2xs text-gray-400'>{o.url}</div> </button>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excited to see what this looks like

@kimskimchi kimskimchi marked this pull request as ready for review September 20, 2022 15:07
Copy link
Collaborator

@BruceMacD BruceMacD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Back-end change looks good

kimskimchi and others added 3 commits September 21, 2022 01:53
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
@kimskimchi kimskimchi enabled auto-merge (squash) September 20, 2022 17:24
@kimskimchi kimskimchi merged commit fc67253 into main Sep 20, 2022
@kimskimchi kimskimchi deleted the kimskimchi/ui-9 branch September 20, 2022 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants