Modeling view appearance final tweaks (#6425)
* Remove bug button from LowerRightControls There is a "report a bug" button in the help menus, both native and lower-right corner. This is overkill, and users are not using coredump well. * Remove coredump from refresh UI button * Add a "Refresh app" command to palette * Update snapshots * Rework "Refresh and report bug" menu item to "Report a bug" * Add refresh button to sidebar * Convert upper-right refresh button to Share * Tweak styles of command button * Make anonymous user icon same size as known user image * Remove ModelStateIndicator * Use hotkeyDisplay for the sidebar too * Update snapshots * Remove tooltip from command bar open button * tsc, lint, and fmt
This commit is contained in:
		@ -409,11 +409,7 @@ test.describe('Native file menu', { tag: ['@electron'] }, () => {
 | 
			
		||||
          )
 | 
			
		||||
          .toBe(true)
 | 
			
		||||
      })
 | 
			
		||||
      test('Home.Help.Refresh and report a bug', async ({
 | 
			
		||||
        tronApp,
 | 
			
		||||
        cmdBar,
 | 
			
		||||
        page,
 | 
			
		||||
      }) => {
 | 
			
		||||
      test('Home.Help.Report a bug', async ({ tronApp, cmdBar, page }) => {
 | 
			
		||||
        if (!tronApp) fail()
 | 
			
		||||
        // Run electron snippet to find the Menu!
 | 
			
		||||
        await page.waitForTimeout(100) // wait for createModelingPageMenu() to run
 | 
			
		||||
@ -424,9 +420,8 @@ test.describe('Native file menu', { tag: ['@electron'] }, () => {
 | 
			
		||||
                if (!app || !app.applicationMenu) {
 | 
			
		||||
                  return false
 | 
			
		||||
                }
 | 
			
		||||
                const menu = app.applicationMenu.getMenuItemById(
 | 
			
		||||
                  'Help.Refresh and report a bug'
 | 
			
		||||
                )
 | 
			
		||||
                const menu =
 | 
			
		||||
                  app.applicationMenu.getMenuItemById('Help.Report a bug')
 | 
			
		||||
                if (!menu) return false
 | 
			
		||||
                menu.click()
 | 
			
		||||
                return true
 | 
			
		||||
@ -2291,7 +2286,7 @@ test.describe('Native file menu', { tag: ['@electron'] }, () => {
 | 
			
		||||
          if (!menu) fail()
 | 
			
		||||
        })
 | 
			
		||||
      })
 | 
			
		||||
      test('Modeling.Help.Refresh and report a bug', async ({
 | 
			
		||||
      test('Modeling.Help.Report a bug', async ({
 | 
			
		||||
        tronApp,
 | 
			
		||||
        cmdBar,
 | 
			
		||||
        page,
 | 
			
		||||
@ -2315,9 +2310,8 @@ test.describe('Native file menu', { tag: ['@electron'] }, () => {
 | 
			
		||||
            async () =>
 | 
			
		||||
              await tronApp.electron.evaluate(async ({ app }) => {
 | 
			
		||||
                if (!app || !app.applicationMenu) return false
 | 
			
		||||
                const menu = app.applicationMenu.getMenuItemById(
 | 
			
		||||
                  'Help.Refresh and report a bug'
 | 
			
		||||
                )
 | 
			
		||||
                const menu =
 | 
			
		||||
                  app.applicationMenu.getMenuItemById('Help.Report a bug')
 | 
			
		||||
                if (!menu) return false
 | 
			
		||||
                menu.click()
 | 
			
		||||
                return true
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user