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`.

 
						
					 
					
						2024-01-11 12:44:05 +00: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.

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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							95a0c7748f 
							
						 
					 
					
						
						
							
							feat: upgrade AdminAlert to PermissionGuard ( #4074 )  
						
						 
						
						... 
						
						
						
						https://linear.app/unleash/issue/2-1165/improve-adminalert-usage-to-be-more-generic-accept-non-admin 
Upgrades our `AdminAlert` to a new `PermissionGuard`.
**Question**: We don't **need** to, but **should** we be specific about
the `ADMIN` permission every time?
Technically `PermissionGuard` could have `permissions` as optional and
assume `[]` by default, which will add `ADMIN` anyways. However, I feel
like we may gain some readability if we're specific about it. WDYT?
Single permission:

Multiple permissions:
 
						
					 
					
						2023-06-23 13:25:35 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							74e657ecdf 
							
						 
					 
					
						
						
							
							clear warnings ( #3053 )  
						
						 
						
						
						
					 
					
						2023-02-07 08:41:23 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fredrik Strand Oseberg 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0dcf28a0f0 
							
						 
					 
					
						
						
							
							Refactor/lazy load ( #2842 )  
						
						 
						
						... 
						
						
						
						Currently our bundle size is clocking in at: 1,798.28 kB │ gzip: 558.42 kB
After the changes: 1,299.32 kB │ gzip: 403.26 kB 
						
					 
					
						2023-01-12 11:34:45 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ivar Conradi Østhus 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							09c87c755f 
							
						 
					 
					
						
						
							
							Fix/remove settings cache ( #2694 )  
						
						 
						
						... 
						
						
						
						In this PR we remove the general SettingService cache, as it will not
work across multiple horizontal unleash instances, events are not
published across.
We also fix the CORS origin to: 
- Access-Control-Allow-Origin set to "*" if no Origin is configured
- Access-Control-Allow-Origin set to "*" if any Origin is configured to
"*"
- - Access-Control-Allow-Origin set to array and have the "cors"
middleware to return an exact match on the user provided Origin.
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com> 
						
					 
					
						2022-12-14 17:35:22 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tymoteusz Czech 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b8012a5ad8 
							
						 
					 
					
						
						
							
							Client-side SDK access tokens info ( #2485 )  
						
						 
						
						... 
						
						
						
						<!-- 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
Add fair use policy notifications.
Closes [linear
1-347](https://linear.app/unleash/issue/1-347/frontend-add-information-about-endpoint-url-and-fair-use-policy-for )
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#1875  
						
					 
					
						2022-11-28 15:22:11 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tymoteusz Czech 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2cd5028125 
							
						 
					 
					
						
						
							
							Docs: update API access for new token type ( #1958 )  
						
						 
						
						... 
						
						
						
						* refactor how-to guide for creating a token
* fix token links
* update SDK reference
* beginning of direct api guide
* refactored frontend api guide
* lint staged breaking notes
* update docs - cors for frontend
* update token guide images
* update after review
* Apply suggestions from code review
`website/docs/user_guide/token.mdx`
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Apply suggestions from code review
`website/docs/topics/frontend-api.md`
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Apply suggestions from code review
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Apply suggestions from code review
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* pr review
* docs: Add info about front-end tokens + formatting
* docs: add info about token anatomy
* docs: link to correct  place in doc
* docs: replace "direct access API" -> "front-end API"
* docs: rename file frontend-api -> front-end-api
Co-authored-by: Thomas Heartman <thomas@getunleash.ai> 
						
					 
					
						2022-09-15 09:02:10 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								olav 
							
						 
					 
					
						
						
						
						
							
						
						
							e6b72ff4a0 
							
						 
					 
					
						
						
							
							feat: add CORS instance settings ( #1239 )  
						
						 
						
						... 
						
						
						
						* feat: add CORS instance settings
* refactor: hide the CORS page when embedProxy is false 
						
					 
					
						2022-08-23 14:04:09 +02:00