Show stash-ids with their endpoint #4216
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes the display of stash-ids to show their endpoint. Currently shows as pill, but open to changing this based on feedback.
The component includes the endpoint name as the value for
data-endpoint
, so the colours can be customised per endpoint using custom css.Examples:
![image](https://private-user-images.githubusercontent.com/53250216/275679836-3d4d6ab3-c3b3-4b48-9098-6fa903469da3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzMTQ4MjYsIm5iZiI6MTcyNTMxNDUyNiwicGF0aCI6Ii81MzI1MDIxNi8yNzU2Nzk4MzYtM2Q0ZDZhYjMtYzNiMy00YjQ4LTkwOTgtNmZhOTAzNDY5ZGEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAyVDIyMDIwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE3NTYzNDM0OGMyMjZhZThiMzNiMDNkZWNiNzVmZTU5NmQ1NzQ2YmVjNDQzNWFmZTI0YzFlYzZmNmQ1ZGYwZjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ScazvessiWhooKUDw9DZy_xapf6CmbahlPsAyxy-9Oc)
![image](https://private-user-images.githubusercontent.com/53250216/275679872-0bc04555-e51b-4514-8c2f-aea0c6e49285.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzMTQ4MjYsIm5iZiI6MTcyNTMxNDUyNiwicGF0aCI6Ii81MzI1MDIxNi8yNzU2Nzk4NzItMGJjMDQ1NTUtZTUxYi00NTE0LThjMmYtYWVhMGM2ZTQ5Mjg1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAyVDIyMDIwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWViMzA2MmZhN2NiYWFjOGYwN2NhZTU2YmQ1MmUzZTJjYmRmMGZjNGJiYzE2YTgxMWFlNTA5MDZjYzAyNTBmNmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.bmYMoC6UAbHu5gG335HnLIUA-y8iDjnF5iLEJ7oLY_M)
![image](https://private-user-images.githubusercontent.com/53250216/275679928-78f3a9d0-4fec-4d0a-b597-102252f9490c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS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