Logo
Explore Help
Sign In
IntenseWebs/pgadmin4
3
0
Fork 0
You've already forked pgadmin4
mirror of https://github.com/pgadmin-org/pgadmin4.git synced 2025-02-25 18:55:31 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
fa21e25cb2ffcbc57e11860151c3075427a9dda5
pgadmin4/web/regression/javascript/fake_theme.js

10 lines
209 B
JavaScript
Raw Normal View History

Added React framework for the properties dialog and port Server Group, Server, and Database dialogs.  Following changes done for the framework: - Framework for creating React based dynamic form view out of a pre-defined UI schema. Previously, it was based on Backform/Backbone. - The new framework and components will use MaterialUI as the base. Previously, Bootstrap/Backform/jQuery components were used. - The new code uses JSS instead of CSS since material UI and most modern React libraries also use JSS. In the future, this will allow us to change the theme in real-time without refresh. - 90% code covered by 80-85 new jasmine test cases. - Server group node UI Schema migration to new, with schema test cases. - Server node UI Schema migration to new, with schema test cases. - Database node UI Schema migration to new, with schema test cases. - Few other UI changes. Fixes #6130
2021-06-29 14:33:36 +05:30
import React from 'react';
import Theme from 'sources/Theme';
export function withTheme(WrappedComp) {
let NewComp = (props)=>{
return <Theme><WrappedComp {...props}/></Theme>;
};
return NewComp;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 38ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API