Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add progress bar to edit study page with the ability to switch between different lists #709

Open
nicoalee opened this issue Feb 19, 2024 · 2 comments
Assignees
Labels
frontend UI QoL Enhancement A feature that will contribute to a more fluid UI

Comments

@nicoalee
Copy link
Collaborator

nicoalee commented Feb 19, 2024

Currently, it's hard for users to understand where they are when editing a given study during the extraction phase because there's no visual indication of what place they are in. It's also not possible for them to switch between different categorization types unless they go back to the main extraction page and then change.

image

            <Box sx={{ marginBottom: '0.5rem' }}>
                <Box
                    sx={{
                        display: 'flex',
                        marginBottom: '1.5rem',
                        border: '2px solid transparent',
                    }}
                >
                    <Tooltip
                        placement="top"
                        title="You are viewing the 6th study of 8 uncategorized studies"
                    >
                        <LinearProgress
                            value={(6 / 8) * 100}
                            variant="determinate"
                            color="warning"
                            sx={{
                                width: `${(7 / 8) * 100}%`,
                                height: '10px',
                                border: '2px solid transparent',
                                '&:hover': { border: '2px solid', borderColor: 'warning.light' },
                            }}
                        />
                    </Tooltip>
                    <Tooltip title="1 study saved for later" placement="top">
                        <LinearProgress
                            variant="determinate"
                            value={0}
                            color="primary"
                            sx={{
                                width: `${(1 / 8) * 100}%`,
                                height: '10px',
                                border: '2px solid transparent',
                                '&:hover': { border: '2px solid', borderColor: 'primary.light' },
                            }}
                        />
                    </Tooltip>
                    <LinearProgress
                        variant="determinate"
                        value={0}
                        color="success"
                        sx={{ width: `${(0 / 8) * 100}%`, height: '10px' }}
                    />
                </Box>
@nicoalee nicoalee added frontend UI QoL Enhancement A feature that will contribute to a more fluid UI labels Feb 19, 2024
@nicoalee nicoalee self-assigned this Feb 19, 2024
@nicoalee
Copy link
Collaborator Author

It doesnt necessarily have to look like the above, but there should be some indication to the user of where they are in the list

@nicoalee
Copy link
Collaborator Author

nicoalee commented Aug 6, 2024

...this is kinda ugly. Could we do some sort of mini carousel UI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend UI QoL Enhancement A feature that will contribute to a more fluid UI
Projects
Status: In Progress
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant