lablup / lablup/backend.ai-webui

Add Refresh Button to Environment Selector in Session Launcher

Open
#2,906 0 comments 0 reactions 1 assignee Claimed by @yomybaby View on GitHub
migration
Dominant language
TypeScript
Stars
133
Forks
81
Avg merge
1d 11h
Merged PRs (30d)
344

Description

### Description

The Environment (image) selector in the session launcher currently fetches the list of images when the page is first loaded. However, images may be added asynchronously, such as through user image commit functions. To accommodate this, we should add a refresh button to the Environment selector. This will allow users to manually refresh the list of available images to ensure they have access to the most up-to-date options.

#### Steps to Implement

1. Add a refresh button next to the Environment selector in the session launcher.
1. Implement functionality to re-fetch the list of available images when the refresh button is clicked.
1. Ensure that the UI updates to reflect any new images that have been added asynchronously.
#### Additional Context

- This feature is necessary to handle cases where images are added after the initial page load.
- Consider any potential performance impacts of re-fetching the image list.

JIRA Issue: FR-35

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.