1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-27 13:49:10 +02:00
Commit Graph

10277 Commits

Author SHA1 Message Date
Thomas Heartman
7af271ce43
docs: rewrite css to avoid nesting 2024-01-31 16:09:15 +09:00
Thomas Heartman
0d1b86b0a5
docs: add learning links and banners to remaining courses 2024-01-31 16:09:14 +09:00
Thomas Heartman
211302b05d
docs: add course banner and extra links to foundational 2024-01-31 16:09:14 +09:00
Thomas Heartman
cd91aab5f3
docs: add course banners 2024-01-31 16:09:14 +09:00
Thomas Heartman
fe0ad1a471
docs: import banner and learning links 2024-01-31 16:09:14 +09:00
Thomas Heartman
ab14d9110e
docs: link academy to internal doc sites 2024-01-31 16:09:14 +09:00
Thomas Heartman
9c87a2aaac
docs: fix padding inline
This didn't work properly in safari for some reason.
2024-01-31 16:09:14 +09:00
Thomas Heartman
aedfee07e4
docs: remove chatgpt's comments 2024-01-31 16:09:14 +09:00
Thomas Heartman
fd81eb2fc6
docs: avoid nesting
Nesting is apparently unsupported by safari, so let's avoid it.
2024-01-31 16:09:14 +09:00
Thomas Heartman
f911618057
docs: add margin to banner too 2024-01-31 16:09:14 +09:00
Thomas Heartman
6fcaee46fb
docs: use ul for links list 2024-01-31 16:09:14 +09:00
Thomas Heartman
92aa0a78c7
docs: add key to links iteration 2024-01-31 16:09:14 +09:00
Thomas Heartman
48771898aa
docs: fix missing px in media queries 2024-01-31 16:09:14 +09:00
Thomas Heartman
eb90ca4a66
docs: fix offset logo when not container queries 2024-01-31 16:09:13 +09:00
Thomas Heartman
62b9591224
docs: remove debug property 2024-01-31 16:09:13 +09:00
Thomas Heartman
4d67dbffd1
docs: set background-y to a value that chrome supports 2024-01-31 16:09:13 +09:00
Thomas Heartman
78d95271b4
docs: use standard media queries instead of container queries
Turns out firefox and safari don't support container queries yet, so
let's go with media queries.
2024-01-31 16:09:13 +09:00
Thomas Heartman
b8c161836f
docs: use the size of the contained container ...
This seems wrong. It should be using the banner container. Not sure
what's going on here.
2024-01-31 16:09:13 +09:00
Thomas Heartman
1a6c4b44fd
docs: refator banner button color 2024-01-31 16:09:13 +09:00
Thomas Heartman
60d1139447
docs: add offset big logo in wide mode 2024-01-31 16:09:13 +09:00
Thomas Heartman
e53ad4b5a7
docs: add link titles 2024-01-31 16:09:13 +09:00
Thomas Heartman
857ab82ced
docs: adjust breakpoints 2024-01-31 16:09:13 +09:00
Thomas Heartman
e41e215cbe
docs: more banner fix 2024-01-31 16:09:13 +09:00
Thomas Heartman
7d697a2160
docs: add more elements, change header element 2024-01-31 16:09:13 +09:00
Thomas Heartman
33e7250655
docs: put svgs in static assets 2024-01-31 16:09:12 +09:00
Thomas Heartman
72999c2c78
docs: start styling banner 2024-01-31 16:09:12 +09:00
Thomas Heartman
3934a8a597
docs: add banner placeholder file 2024-01-31 16:09:12 +09:00
Thomas Heartman
bbdd31d06c
docs: update css for links 2024-01-31 16:09:12 +09:00
Thomas Heartman
1a95932a79
docs: finish links box 2024-01-31 16:09:12 +09:00
Thomas Heartman
cfffe546b3
docs: work on styling links 2024-01-31 16:09:12 +09:00
Thomas Heartman
6e4fbb41ea
docs: use grid, fix margins etc 2024-01-31 16:09:12 +09:00
Thomas Heartman
78f3ef9a1a
docs: initial spike for the component 2024-01-31 16:09:12 +09:00
Thomas Heartman
b2c127c058
docs: fix navbar styling issues: GitHub icon, button background, hidden text (#6078)
This PR fixes the three issues in the nav bar:
1. The GitHub icon was rendered in black in light mode. It should be
white.
2. The toggle theme button's background was white in light mode. It
should be a darker green.
3. The navbar would intersect with the logo due to not compacting
correctly.

The first two issues were caused by using CSS nesting, which is
apparently not supported in Safari yet (and might only be supported if
you have enabled a flag in other browsers).

The last issue was fixed by changing the syntax of a media query. The
new syntax is unsupported in Safari.
2024-01-31 13:40:50 +09:00
Tymoteusz Czech
c9ac4916e8
feat: executive dashboard responsive grid (#6069)
- unified "Widget" component
- column order dependent on screen width
2024-01-30 17:02:13 +01:00
Mateusz Kwasniewski
ccc41dca4e
feat: scheduler init jitter (#6071) 2024-01-30 15:49:35 +01:00
Mateusz Kwasniewski
55b2bb4813
feat: expose project time to production for project flag trends (#6068) 2024-01-30 13:28:20 +01:00
Mateusz Kwasniewski
82e84ec14d
feat: migration for health and time_to_production in flag trends (#6067) 2024-01-30 13:28:10 +01:00
Ivar Conradi Østhus
38df2e1831
fix: add instanceName to license display (#6065)
## About the changes
- Shows the instanceName from the license
- add new feature flag `enableLicenseChecker` used to enforce a valid
license.
2024-01-30 11:05:27 +01:00
Nicolae Socaciu
3ff19f3eb6
improve:schedule-execution-failed-email (#6051)
Improving the email template design


![image](https://github.com/Unleash/unleash/assets/103567375/0c62c1de-6d13-42b8-9898-4567be6ff2aa)

- @andreas-unleash i need you to fix the button for the change request
in case it's not correct like this

- also removing some leftover style from the "scheduled change conflict"
email

---------

Co-authored-by: andreas-unleash <andreas@getunleash.ai>
2024-01-30 11:13:15 +02:00
Jaanus Sellin
febd01a575
chore: update database migration ADR (#6036)
## Key Updates in the ADR

- **Separation of Migrations in PRs**: Migrations are now required to be
carried out in separate pull requests. This change is intended to
improve the monitoring and management of database schema changes during
deployment.

- **Primary Key Requirement for New Tables**: A new paragraph mandates
the inclusion of primary keys in all new tables, emphasizing the
importance of data integrity, efficient data retrieval, and supporting
table relationships. Additionally, by adding primary keys, we resolve
the issue of migrations failing during upgrades in replicated database
setups, as we are not using PostgreSQL replica identities. Exceptions to
this rule require a compelling justification.


Also added better structuring and styling to ADR for better readability.
2024-01-30 11:07:32 +02:00
Fredrik Strand Oseberg
7d6d4064a8
feat: connect dashboard static widgets to data (#6062)
This PR connects the static widgets to actual data
2024-01-30 10:07:16 +01:00
Jaanus Sellin
832884b4f5
fix: admin token should be passed forward from controllers (#5960)
We were sending `user.id` to the service, but if an admin token is used,
there is no `user.id.` Instead, there is
`user.internalAdminTokenUserId`. so we need to use the special method
`extractUserIdFromUser`.

This PR adds this implementation, and now the service correctly
retrieves the appropriate ID for admins.

Related to: https://github.com/Unleash/unleash/pull/5924
2024-01-30 11:03:15 +02:00
Jaanus Sellin
2643ac1356
feat: add CR id to plausible events (#6035)
Added conflict count to CR metrics and CR id.

Something to think about:
There was idea that we can aggregate this data based on CR id, but CR id
is just a number from 0 to x. So it will not be unique across instances.

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-01-30 10:38:39 +02:00
Tymoteusz Czech
46fb40ca08
fix: dashboard layout (#6063)
Align widgets properly on main screen. Responsive view in next PRs
2024-01-30 09:00:06 +01:00
David Leek
9d2c65c9c0
chore: events created by userid migration (#6027)
## About the changes

Schedules a best-effort task setting the value of
events.created_by_user_id based on what is found in the created_by
column and if it's capable of resolving that to a userid/a system id.
The process is executed in the events-store, it takes a chunk of events
that haven't been processed yet, attempts to join users and api_tokens
tables on created_by = username/email, loops through and tries to figure
out an id to set. Then updates the record.

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2024-01-30 08:22:53 +01:00
Thomas Heartman
6f4f8661c7
docs: update nav bar (#6045)
Update the Unleash docs navbar according to the new spec:

Changing "estimated time burden" to "estimated time" (or "estimated
reading time"), is just a matter of changing the text in the files.
There's nothing special making it say burden other than plain text. That
can be done in a follow-up PR.

The new nav bar includes the Unleash academy and certification dropdowns
as well as the docs and quickstart items. On smaller screen sizes
(between 997 and 1150 px), we hide the word "Unleash" from "Unleash
academy" and "Unleash certification".

The narrowest nav bar:

![image](https://github.com/Unleash/unleash/assets/17786332/13d05b0b-8668-4ff0-b06e-5c3073f0dda8)

When Unleash pops back in: 

![image](https://github.com/Unleash/unleash/assets/17786332/191ae3fe-5fca-4464-b79a-db6995e600c9)

---------

Co-authored-by: markunl <mark@getunleash.io>
2024-01-29 13:30:18 -05:00
Nnenna Ndukwe
1d5d7ee57d
fix: updating links across the React docs (#6054)
<!-- 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
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

- Simplified wording
- More descriptive ALT text for images
- Included YouTube tutorial link
- Improve code indentation in some code blocks

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

YouTube link at the top of a tutorial or near the bottom?

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-01-29 12:33:41 -05:00
David Leek
c08ac86c5f
chore: filter on token username and user id in SQL instead (#6061)
## About the changes

Change the sorting of features to migrate created_by_user_id for, and
filter out unresolvable feature/users

Query tested manually in enterprise
2024-01-29 15:14:44 +01:00
Mateusz Kwasniewski
8a7e65eaa6
refactor: cleanup fix for persistent set (#6060) 2024-01-29 12:33:01 +01:00
Nuno Góis
c1046079dd
chore: actions modal form (#6057)
https://linear.app/unleash/issue/2-1882/ui-add-actions-modal-and-form

Adds actions modal and form, allowing users to create and edit actions.

The main thing that is missing is adding the remaining fields, which
will be included in a later PR.
2024-01-29 11:15:29 +00:00