In card view, buttons should have 2 sizes to take up as little horizontal space as necessary, in order to optimize for longer resource names. Connect, Launch, and Log-In buttons should be ~84px wide and "+ Request Access"/Request Role buttons should be ~124px wide. In table view, buttons should have uniform width so that they all align.
Also expected: Request Access buttons should be filled neutral buttons (no border, with level 0 spot background) to make it clearer that they are going to do something different from the Connect/Launch/Log In buttons.
Screenshot of design:
Current behavior:
Buttons currently always all have the width of the biggest button, "+ Request Access", except for segmented “Log In”/“…” buttons, which are overall ~24px wider than other buttons.
Screenshot from Teleport 17 in card mode. Note the unnecessarily wide buttons:
Screenshot from Teleport 17 in table mode with uniform buttons except the "Log In" segmented button:
Bug details:
Teleport version: observed in 17.0.1 and 16.4.7, but it slipped past my notice for a while - it isn't new.
Recreation steps: Go to resources view and look at button sizes in card view
Expected behavior:
In card view, buttons should have 2 sizes to take up as little horizontal space as necessary, in order to optimize for longer resource names. Connect, Launch, and Log-In buttons should be ~84px wide and "+ Request Access"/Request Role buttons should be ~124px wide. In table view, buttons should have uniform width so that they all align.
Also expected: Request Access buttons should be filled neutral buttons (no border, with level 0 spot background) to make it clearer that they are going to do something different from the Connect/Launch/Log In buttons.
Screenshot of design:
Current behavior:
Buttons currently always all have the width of the biggest button, "+ Request Access", except for segmented “Log In”/“…” buttons, which are overall ~24px wider than other buttons.
Screenshot from Teleport 17 in card mode. Note the unnecessarily wide buttons:
Screenshot from Teleport 17 in table mode with uniform buttons except the "Log In" segmented button:
Bug details: