stuartridout / teamlink

TeamLink is a free Microsoft Teams Power App using Dataverse for Teams. It is a space where your team can share there whereabouts for the week ahead directly in Microsoft Teams. Users can select who they want to 'follow' and see the upcoming presences of or can view by site to see who is planning to be on site on that day. TeamLink allows you then to message to see if the person wants to meet up for a coffee ... all from the click of a button!
MIT License
51 stars 2 forks source link

Change size of 'selection' popup to accomodate new items in the list. #21

Closed paul-haigh-iaggbs closed 1 year ago

paul-haigh-iaggbs commented 2 years ago

Hi - we are LOVING teamlink so far! I needed to add a few additional categories (training, etc), and I've found the table to add the SVG code to, which works fine - but the pop-up doesn't size automatically to additional elements, so you end up with an ugly scroll bar.

Is it possible to make that autosize - or point me to how I fix that for us? (I'm new to PowerApps).

stuartridout commented 1 year ago

Hi Paul. I'll add this to the backlog for the app. We initially picked four icons as it displays well on mobile. More than four doesn't really work on a smaller screen.

Could you consider adding some of your categories as office locations? e.g. Training

paul-haigh-iaggbs commented 1 year ago

We could do, but the icons are much easier to parse - people are making trips in to see other colleagues, so I'm not sure they would look carefully at the exact office.

We've lived with the scroll bars so far, but we don't really have mobile users - it's all being done on desktop teams clients.

stuartridout commented 1 year ago

How many options do you have? If you had six you could

Try that out and see what that looks like.

changegal

paul-haigh-iaggbs commented 1 year ago

Apologies - I'd not pushed the code

New look: image

So, this worked beautifully :)

stuartridout commented 1 year ago

Perfect! Be aware that you'll need to make that change again if you upgrade the app in the future.

You'll also need to remove the unmanaged layer to apply the upgrade. https://docs.microsoft.com/en-us/power-apps/maker/data-platform/solution-layers#remove-an-unmanaged-layer