WordPress / sqlite-database-integration

Feature Plugin to add SQLite support to WordPress. Under Development.
GNU General Public License v2.0
223 stars 37 forks source link

Add toggle to SQLite Admin Bar item display via PHP filter hook #89

Closed 0aveRyan closed 5 months ago

0aveRyan commented 5 months ago

I believe the goal should always be to surface the SQLite database state transparently, however that should be balanced with providing a WordPress experience that feels native, doesn't have excess clutter in screenshots, etc.

The current implementation's UX could either use a little refinement or relocation.

As the SQLite state is surfaced in the database, I think this proposed filter and/or...

adamziel commented 5 months ago

@0aveRyan couldn't you achieve the same with this code?

remove_action( 'admin_bar_menu', 'sqlite_plugin_adminbar_item' );
0aveRyan commented 5 months ago

You sure could 😁 well, we can close this. If I use a custom color scheme soon and the hardcoded green bugs me I may come back for it 😅

0aveRyan commented 5 months ago

On mobile, but pulled this out of my link graveyard and set a reminder. One of these CSS classes is probably right for the text.