Jaanus Sellin
29e7c4035d
chore: rename toggle to flag #4 ( #7114 )
2024-05-22 16:26:22 +03:00
Jaanus Sellin
2fb95339ef
chore: change toggle to flag #3 ( #7101 )
2024-05-22 09:58:53 +03:00
Jaanus Sellin
8542cafc9f
chore: rename toggle to flag #2 ( #7097 )
2024-05-22 08:20:11 +03:00
Jaanus Sellin
8897f2ea75
chore: rename toggle to flag #1 ( #7092 )
...
Rename feature toggle to feature flag in the UI and code.
Starting with low hanging fruits.
Trying to keep these ~100 LoC.
2024-05-21 15:18:00 +03:00
Mateusz Kwasniewski
0537d3d5f6
feat: switch to hook without features list ( #7085 )
2024-05-20 13:52:21 +02:00
Mateusz Kwasniewski
a45be8d10c
test: move tests from cypress to rtl ( #6987 )
2024-05-07 09:03:40 +02:00
Mateusz Kwasniewski
6a0135a482
feat: Table with feature overview cell ( #6713 )
2024-03-27 13:30:31 +01:00
Christopher Kolstad
53354224fc
chore: Bump biome and configure husky ( #6589 )
...
Upgrades biome to 1.6.1, and updates husky pre-commit hook.
Most changes here are making type imports explicit.
2024-03-18 13:58:05 +01:00
Fredrik Strand Oseberg
f381718fd6
fix: icon imports ( #6499 )
...
Based on this article:
https://mui.com/material-ui/guides/minimizing-bundle-size/ importing
from `'@mui/icons-material'` instead of specifying the actual path to
the icon like `import Delete from '@mui/icons-material/Delete';` can be
up to six time slower. This change changes all named imports in Unleash
referencing the `@mui/icons-material` to default imports.
This reduced the amount of modules we had to process when building the
frontend from 15206 to 4746
Before:
<img width="1016" alt="Skjermbilde 2024-03-11 kl 14 19 58"
src="https://github.com/Unleash/unleash/assets/16081982/f137d24a-6557-4183-a40f-f62a33524520 ">
After:
<img width="1237" alt="Skjermbilde 2024-03-11 kl 14 20 32"
src="https://github.com/Unleash/unleash/assets/16081982/05a27d6a-2c3f-4409-9862-7188ab4b9c72 ">
Build time locally decreased by around 50%
Before:
<img width="1504" alt="Skjermbilde 2024-03-11 kl 14 31 45"
src="https://github.com/Unleash/unleash/assets/16081982/bc931559-b022-47ed-9f8f-c87401578518 ">
After:
<img width="1219" alt="Skjermbilde 2024-03-11 kl 14 27 00"
src="https://github.com/Unleash/unleash/assets/16081982/3c3a8d6b-576d-45c3-aa40-cc5f95d9df2b ">
2024-03-12 10:56:10 +01:00
Mateusz Kwasniewski
7e66a79f9f
feat: add disabled state handling on slow network ( #6165 )
2024-02-08 10:27:51 +01:00
Jaanus Sellin
c6a2303026
chore: remove featureSearchFrontend flag ( #6066 )
2024-01-31 09:22:26 +02:00
Nuno Góis
b496990f79
chore: add no unused imports biome rule ( #5855 )
...
Adds a Biome rule for "no unused imports", which is something we
sometimes have trouble catching.
We're adding this as a warning for now. It is safely and easily fixable
with `yarn lint:fix`.
![image](https://github.com/Unleash/unleash/assets/14320932/fd84dea8-6b20-4ba5-bfd8-047b9dcf2bff )
![image](https://github.com/Unleash/unleash/assets/14320932/990bb0b0-760a-4c5e-8136-d957e902bf0b )
2024-01-11 12:44:05 +00:00
Jaanus Sellin
c979e687ca
fix: remove extra call to features on project load ( #5690 )
...
Currently EnableEnvironmentDialog was loaded even if no feature was
touched. Now it will only load, if feature toggle was selected.
2023-12-19 21:03:24 +02:00
Tymoteusz Czech
8388700f76
fix: project features batch actions refetch ( #5680 )
...
Reload paginated features on project overview after batch action.
2023-12-19 14:46:06 +02:00
Mateusz Kwasniewski
cc01971ff0
feat: update message with no feature toggles ( #5663 )
2023-12-18 09:05:58 +01:00
Tymoteusz Czech
203d6ac848
refactor: paginated project table cleanup ( #5646 )
...
- added `getRowId` - fix row selection
- move and rename paginated table
2023-12-15 11:37:49 +01:00
Jaanus Sellin
d00d27a9ac
fix: last seen now will not break ( #5634 )
2023-12-13 16:05:54 +02:00
Jaanus Sellin
8961a6e1db
fix: paginated project overview now returns single project ( #5615 )
2023-12-12 15:46:08 +02:00
Tymoteusz Czech
d11aedc12f
Project Overview with react-table v8 ( #5571 )
2023-12-11 13:33:11 +01:00
Tymoteusz Czech
b5122a74e7
refactor: table state management in withTableState ( #5531 )
2023-12-05 12:16:58 +01:00
Tymoteusz Czech
ddca82213a
refactor: project overview table state ( #5530 )
...
Use new table state management on project overview and on
project/features
2023-12-04 17:04:28 +01:00
Tymoteusz Czech
755c22f3b9
feat: features list pagination ( #5496 )
...
New paginated table - tested on /features-new behind a flag
2023-12-01 14:53:05 +00:00
Tymoteusz Czech
dbd897e3bd
Feat/new paginated table ( #5371 )
...
## About the changes
2023-11-24 17:50:58 +01:00
Nuno Góis
47e214d96f
fix: enable toggle with disabled strategies dialog ( #5416 )
...
https://linear.app/unleash/issue/UNL-283/improve-dialog-when-there-are-disabled-strategies-and-we-want-to
Improves the "enable toggle when there are disabled strategies" dialog.
Also implements passing in the missing `disabledStrategiesCount`
property to the dialog.
![image](https://github.com/Unleash/unleash/assets/14320932/95d9110e-8c1c-47ce-8e1b-389607115a54 )
2023-11-24 14:57:03 +00:00
Fredrik Strand Oseberg
5414fa6663
Refactor/remove last seen at flag ( #5394 )
...
This PR removes the feature flag for displaying the new last seen by
environments component.
2023-11-22 13:32:38 +01:00
Fredrik Strand Oseberg
2dd2d520e3
Feat/exp project features ( #5351 )
...
This PR adds feature toggle list on the project on a separate page as an
experiment
2023-11-16 12:41:31 +01:00
Jaanus Sellin
4e1040c849
feat: connect sort table to backend ( #5338 )
...
Now FE sorting is done in backend.
2023-11-15 16:01:02 +02:00
Fredrik Strand Oseberg
357af740c8
refactor: new table styling for project overview ( #5334 )
...
This PR alters the table styling for the Project Overview table so that
we utilise more of the surrounding space:
2023-11-14 13:57:06 +01:00
Jaanus Sellin
069d90d8cb
fix: date should sort asc/desc properly ( #5335 )
2023-11-14 14:47:28 +02:00
Tymoteusz Czech
fd3a7f12cb
chore: remove featureSwitchRefactor flag ( #5329 )
...
Cleanup. This change has been rolled out to significant number of
customers already, and we have another parallel version behind a flag.
2023-11-14 13:03:23 +01:00
Jaanus Sellin
cdebf9aa28
fix: sort order should be persisted and used from local storage ( #5332 )
2023-11-14 11:08:04 +02:00
Fredrik Strand Oseberg
ddd718fd23
refactor/reshape table ( #5328 )
...
This PR fixes a couple of issues with the pagination bar:
* Fixes an issue where padding bottom would be broken due to disabling
padding on the parent container
* Remove padding on the entire table to create more space and remove
header bar border radius as per discussion with @nicolaesocaciu
2023-11-14 08:44:36 +01:00
Fredrik Oseberg
0f7360c1e8
fix: conditionally show pagination bar
2023-11-13 14:47:51 +01:00
Fredrik Strand Oseberg
834ae1d8a4
Feat/pagination loading ( #5325 )
...
This PR makes changes to how the project overview skeleton screen works.
Important changes:
- Add skeleton screens to missing elements, creating a more
comprehensive loading screen
- Split the page into different loading sections, so that we can load
the table when we fetch the next page without affecting the rest of the
page.
https://www.loom.com/share/e5d30dc897ac488ea80cfae11ffab646
Next steps:
* Hide bar if total is less than 25
* Add FE testing
2023-11-13 14:08:48 +01:00
Fredrik Strand Oseberg
7f4df19660
Feat/pagination bar ( #5309 )
...
Initial implementation of the sticky pagination bar.
2023-11-10 14:16:31 +01:00
Jaanus Sellin
24f9fa3058
feat: connect search and filter with server api ( #5297 )
2023-11-08 14:19:40 +02:00
Fredrik Strand Oseberg
92e2b1890c
Refactor/project overview api calls ( #5279 )
...
This PR reduces the overhead of making API calls on pages with heavy
renders. We forego loading states and default error handling in favor of
more speed by avoiding triggering multiple re-renders from the API call.
2023-11-07 09:19:55 +01:00
Fredrik Strand Oseberg
9cfade926e
refactor: memoize heavy components in project overview ( #5241 )
...
This PR memoizes some of the heavier components in our project overview
table
2023-11-02 13:12:35 +01:00
Mateusz Kwasniewski
bc66fb649f
feat: infinite scroll API trigger ( #5242 )
2023-11-01 15:56:06 +01:00
Mateusz Kwasniewski
d074254b61
feat: connect project overview table to search api ( #5237 )
2023-11-01 12:05:42 +01:00
Mohan Raj A
0c43089ea2
feat: add copy button to feature flag name ( #4098 ) ( #5031 )
...
In ActionsCell.tsx file, 'Copy' with FileCopy icon is changed to 'Clone'
with 'LibraryAdd' icon as this feature is used to clone a new feature
from existing one. Upon copying the icon and text will change to 'Check'
icon with 'Copied!' for one sec and closes automatically.
2023-10-30 15:38:59 +01:00
Jaanus Sellin
26dcc70e85
bug: remove strategies from copy breadcrumbs ( #5137 )
2023-10-25 09:12:32 +03:00
Tymoteusz Czech
6fab6633c9
feat: add hasStrategies and hasEnabledStrategies on feature environments ( #5012 )
2023-10-20 10:50:57 +02:00
andreas-unleash
bd008c821a
fix: remove console from FeatureToggleSwitch ( #4928 )
...
Removes missed console log from FeatureToggleSwitch
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-05 16:00:49 +03:00
Nuno Góis
4167a60588
feat: biome lint frontend ( #4903 )
...
Follows up on https://github.com/Unleash/unleash/pull/4853 to add Biome
to the frontend as well.
![image](https://github.com/Unleash/unleash/assets/14320932/1906faf1-fc29-4172-a4d4-b2716d72cd65 )
Added a few `biome-ignore` to speed up the process but we may want to
check and fix them in the future.
2023-10-02 13:25:46 +01:00
Tymoteusz Czech
f82ae354eb
fix: project features table initial state ( #4843 )
...
When loading don't keep initial state, but recalculate if after proper
data is present. (issue 1-1432)
2023-09-27 08:37:25 +00:00
andreas-unleash
e7b1e7979e
Feat: add prod guard when toggling envs ( #4774 )
...
Adds the prod guard dialog when enabling/disabling production
environment
Closes # [1-1386]
(https://linear.app/unleash/issue/1-1386/production-guard-modal-for-enablingdisabling-environment-is-gone )
https://github.com/Unleash/unleash/assets/104830839/0041bfc8-872b-455c-b4fa-e03cc160c3e9
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-09-26 12:16:26 +03:00
Mateusz Kwasniewski
a0fbad26bf
feat: persistent search queries ( #4624 )
2023-09-06 15:46:10 +02:00
Mateusz Kwasniewski
2b85eed5b5
feat: Search UI improvements ( #4613 )
2023-09-06 10:50:20 +02:00
Tymoteusz Czech
c19bd615b9
fix: reset selected toggle after archive or revive ( #4606 )
...
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
## About the changes
When archiving or reviving feature toggles, when toggles disappear from
table, actions bar should also disappear.
<!-- Does it close an issue? Multiple? -->
Closes
https://linear.app/unleash/issue/1-1293/bulk-revive-modal-doesnt-go-away
2023-09-05 11:44:28 +02:00