feat: mvp features for soft launch (#44539)
* refactor: use enum * feat: create links between legacy and new * refactor: pull out legacy-links component * fix: import order * fix: provide icon for new superblock * feat: only show the copy on the new superblock * fix: use the proper i18n keys correctly * feat: put the new superblock at the end of the map * feat: update the new superblock title * test: update for soft launch order * fix: show original project links on /settings Soft launch only. * test: use SHOW_NEW_CURRICULUM in tests * fix: rename the remaining rwd-22s * feat: make the messge prettier * fix: message copy * refactor: make comment make sense Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com> Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							10f0d3c07a
						
					
				
				
					commit
					fd63bb6f85
				
			@@ -38,7 +38,7 @@ describe('getSuperOrder', () => {
 | 
			
		||||
  it('returns a different order if passed the option showNewCurriculum: true', () => {
 | 
			
		||||
    expect.assertions(13);
 | 
			
		||||
    expect(
 | 
			
		||||
      getSuperOrder('2022/responsive-web-design', { showNewCurriculum: true })
 | 
			
		||||
      getSuperOrder('responsive-web-design', { showNewCurriculum: true })
 | 
			
		||||
    ).toBe(0);
 | 
			
		||||
    expect(
 | 
			
		||||
      getSuperOrder('javascript-algorithms-and-data-structures', {
 | 
			
		||||
@@ -82,7 +82,7 @@ describe('getSuperOrder', () => {
 | 
			
		||||
      getSuperOrder('coding-interview-prep', { showNewCurriculum: true })
 | 
			
		||||
    ).toBe(11);
 | 
			
		||||
    expect(
 | 
			
		||||
      getSuperOrder('responsive-web-design', { showNewCurriculum: true })
 | 
			
		||||
      getSuperOrder('2022/responsive-web-design', { showNewCurriculum: true })
 | 
			
		||||
    ).toBe(12);
 | 
			
		||||
  });
 | 
			
		||||
});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user