Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions apps/remix-ide/src/app/components/plugin-manager-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ class PluginManagerComponent extends ViewPlugin {
const isFiltered = (profile) => (profile.displayName ? profile.displayName : profile.name).toLowerCase().includes(this.filter)
const isNotRequired = (profile) => !this.appManager.isRequired(profile.name)
const isNotDependent = (profile) => !this.appManager.isDependent(profile.name)
const isNotHome = (profile) => profile.name !== 'home'
// Temporarily keep the Git integration out of the plugin manager UI.
const isVisibleInManager = (profile) => !['home', 'gitPanel'].includes(profile.name)
const sortByName = (profileA, profileB) => {
const nameA = ((profileA.displayName) ? profileA.displayName : profileA.name).toUpperCase()
const nameB = ((profileB.displayName) ? profileB.displayName : profileB.name).toUpperCase()
Expand All @@ -256,7 +257,7 @@ class PluginManagerComponent extends ViewPlugin {
.filter(isFiltered)
.filter(isNotRequired)
.filter(isNotDependent)
.filter(isNotHome)
.filter(isVisibleInManager)
.sort(sortByName)
.reduce(({ actives, inactives }, profile) => {
return this.isActive(profile.name)
Expand Down
6 changes: 2 additions & 4 deletions apps/remix-ide/src/app/tabs/git-panel-tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@ const profile = {
events: [],
icon,
description: 'Local Git version control for the current workspace.',
// 'fileexplorer' groups the icon with the workspace tools; vertical-icons
// only has a fixed set of kind buckets (no 'git' section) and would throw
// on appendChild for an unknown kind.
// Keep the implementation registered while temporarily suppressing its UI entry.
kind: 'fileexplorer',
location: 'sidePanel',
location: 'hiddenPanel',
documentation: 'https://developers.tron.network/docs/tron-ide',
version: packageJson.version
}
Expand Down
6 changes: 3 additions & 3 deletions apps/remix-ide/src/app/ui/landing-page/landing-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -2047,7 +2047,7 @@ export class LandingPage extends ViewPlugin {
}

const renderGithubTokenPanel = () => yo`
<section class=${css.panel} data-id="landingGithubTokenPanel">
<section class=${css.panel} data-id="landingGithubTokenPanel" hidden>
<div class=${css.panelHead}>
<h3 class=${css.panelHeadTitle}><span class=${css.panelHeadIcon}>${githubIcon}</span> GitHub Token</h3>
<span class=${css.panelMore} title=${githubTokenState.user && githubTokenState.user.login ? `Connected as ${githubTokenState.user.login}` : 'No token set yet. Tokens are kept for this browser session only (not saved to disk).'}>${githubTokenState.user && githubTokenState.user.login ? githubTokenState.user.login : 'Not connected'}</span>
Expand Down Expand Up @@ -2111,7 +2111,7 @@ export class LandingPage extends ViewPlugin {
`

const renderGitWorkflowPanel = () => yo`
<section class=${css.panel} data-id="landingGitWorkflowPanel">
<section class=${css.panel} data-id="landingGitWorkflowPanel" hidden>
<div class=${css.panelHead}>
<h3 class=${css.panelHeadTitle}><span class=${css.panelHeadIcon}>🔀</span> Git Workflow</h3>
<span class=${css.panelMore}>Beta</span>
Expand All @@ -2130,7 +2130,7 @@ export class LandingPage extends ViewPlugin {
<h3 class=${css.panelHeadTitle}><span class=${css.panelHeadIcon}>⋯</span> Advanced tools</h3>
<button class=${css.loadChip} data-id="landingAdvancedToolsToggle" onclick=${() => toggleAdvancedTools()} aria-expanded=${advancedToolsState.open ? 'true' : 'false'}>${advancedToolsState.open ? 'Hide' : 'Show'} tools</button>
</div>
<div class=${css.fileDesc}>Verification, GitHub token flow, layout controls, workspace health, and TRON recipes are available here when needed.</div>
<div class=${css.fileDesc}>Verification, layout controls, workspace health, and TRON recipes are available here when needed.</div>
${advancedToolsState.open ? yo`
<div class=${css.advancedToolsGrid} data-id="landingAdvancedToolsContent">
${renderVerificationPanel()}
Expand Down
2 changes: 1 addition & 1 deletion libs/remix-ui/top-header/src/lib/top-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ export const TopHeader = ({ plugin, _deps }) => {
</Tooltip>
</div>
<div className='header-actions'>
<div className='header-github-action' ref={githubMenuRef}>
<div className='header-github-action' ref={githubMenuRef} hidden>
<button
className='header-action-btn'
data-id='headerGithubConnect'
Expand Down
Loading