Nuno Góis
c5fced89fb
feat: visualize variants diff in CR ( #2979 )
...
https://linear.app/unleash/issue/2-582/display-the-change-request-created-with-variants-in-the-ui
![image](https://user-images.githubusercontent.com/14320932/214341314-c4f1aefb-fada-4d59-9d40-86f8dce98b76.png )
Includes a basic diff visualisation on variants change requests.
It seems like components like `CodeSnippetPopover` and `PopoverDiff` are
currently very tightly coupled together with strategies, so I preferred
to follow my own approach and leave those alone for now instead of
trying to refactor them. `patchVariant` could also be renamed to a more
fitting name in the future as well, since we're now doing more of an
override than applying a patch.
`Diff` is a generic diff component that uses `EventDiff` internally and
simply takes into account a "before" and "after" state, as `preData` and
`data`.
I made some changes to `EventDiff` that made some sense to me:
- Cover edge cases where `path` is undefined and `.join` crashes, also
fallback to the diff index (or undefined);
- Leverage the key to correctly sort the change items in the diff;
2023-01-24 16:06:53 +00:00
Mateusz Kwasniewski
2e615cdd35
refresh change request, add conflict margin, set time ago ( #2700 )
2022-12-15 10:49:16 +01:00
Fredrik Strand Oseberg
cef4181f11
Fix/cr UI fixes ( #2675 )
...
This PR contains multiple UI fixes for the change request. It changes
font sizes, icon colors, margins and paddings to be more consistent.
2022-12-12 16:32:38 +01:00
Mateusz Kwasniewski
2107834768
hide discard for nonauthors ( #2634 )
2022-12-08 13:24:15 +01:00
Mateusz Kwasniewski
c4f3ada0eb
POC: integration tests ( #2422 )
2022-12-06 15:28:33 +01:00
Mateusz Kwasniewski
055c2acddd
removing sort order from diff in change requests ( #2587 )
2022-12-02 10:39:20 +01:00
Mateusz Kwasniewski
c7fe4a5a01
visual changes representation ( #2583 )
2022-12-01 14:44:33 +01:00
Mateusz Kwasniewski
d1c565735a
linter fixes ( #2561 )
2022-11-30 10:52:13 +01:00
Mateusz Kwasniewski
6ae2c9a165
uniquitous language cleanup ( #2564 )
2022-11-30 08:55:40 +01:00
Mateusz Kwasniewski
840510a720
ui tweaks ( #2557 )
2022-11-29 14:59:04 +01:00
Mateusz Kwasniewski
a3957f8c99
disable change request overview actions when CR are disabled ( #2527 )
2022-11-24 16:16:14 +01:00
Nuno Góis
f9726fdee9
add tokens last seen feature flag ( #2512 )
...
https://linear.app/unleash/issue/2-450/add-feature-flag
2022-11-23 13:33:02 +00:00
Mateusz Kwasniewski
98a9a770d2
hide discard button ( #2506 )
2022-11-23 12:16:20 +01:00
Tymoteusz Czech
42eadef8da
Custom roles redesign ( #2439 )
...
## About the changes
Visual update to project permissions
![image](https://user-images.githubusercontent.com/2625371/201968786-81d6e068-43e0-43ba-b3d9-d8e550345409.png )
Closes [linear
1-366](https://linear.app/unleash/issue/1-366/frontend-custom-roles-redesign )
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#2251
2022-11-17 15:33:23 +01:00
Tymoteusz Czech
8b057a1466
Show conflicts in change requests ( #2389 )
...
## About the changes
Show warnings about incompatible changes in changesets.
Closes
[1-352/display-conflicts](https://linear.app/unleash/issue/1-352/display-conflicts )
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#2251
2022-11-15 09:53:38 +01:00
Mateusz Kwasniewski
065833e5d1
feat: display change details ( #2327 )
...
* feat: display change details
* refactor: reorganize components
* feat: display deleted strategy name if present
* feat: UI tweaks
* fix: types
* refactor: remove unnecessary checks for types
2022-11-04 12:52:47 +01:00
Tymoteusz Czech
4b281d9513
Change request - edit strategy ( #2334 )
...
* feat: request change - add strategy
* refactor: use change request is-enabled hook
* feat: edit strategy
* fix: prettier formatting
* fix: refetch change request draft after adding
2022-11-04 11:55:45 +01:00
andreas-unleash
c1e0bd83b0
Frontend - Suggest change copy strategy ( #2312 )
...
* Suggest change copy strategy
* Fix merge conflicts
* Copy strategies from other environment added to draft
* Copy strategies from other environment added to draft
* Copy strategies from other environment added to draft
* Copy strategies from other environment added to draft
* fmt
* PR comments
* PR comments
* PR comments
* PR comments
* Fix: Conditionally hide Change Requests tab
2022-11-04 11:33:07 +02:00
Tymoteusz Czech
0a855604af
feat: review your draft sidebar ( #2305 )
...
* refactor playground status chip component
* fix: update change request sidebar
* refactor: status badge cleanup
* fix: prettier formatting
2022-11-02 16:05:27 +01:00
sjaanus
5dd8616c74
Rename suggest changes to change request ( #2311 )
...
* Rename change request
* Merge with review status
* Move events and permissions
2022-11-02 08:34:14 +02:00