lolipain / saas-vk-ticket-support Goto Github PK
View Code? Open in Web Editor NEWu!Support source repository
License: GNU Affero General Public License v3.0
u!Support source repository
License: GNU Affero General Public License v3.0
The following file(s): GCPanel
Contains a lot of duplicated code fragments releated to adaptive rendering component <Groups />
If required component-wrappers moved to a part of another adaptive components that should reduce quanity of same code parts
Before:
<Wrapper>
<Adaptive />
</Wrapper>
:
<Wrapper>
<Adaptive 2 />
</Wrapper>
After:
<Adaptive Wrapper />
Due to Stepper
keys function Decrease
must be callable only when some group is selected.
https://github.com/P2LOVE/saas-vk-ticket-support/blob/ac8b53434ebe59c588ffb24302d32af404280699/client/src/components/Stepper/index.jsx#L13-L20
https://github.com/P2LOVE/saas-vk-ticket-support/blob/ac8b53434ebe59c588ffb24302d32af404280699/client/src/Core/GCPanel/index.jsx#L96
Solution will be passing isMinimal
prop till selected
state equals default state additionally to current isMinimal
behaviour when empty Groups
component rendereing or rework it generally
https://github.com/P2LOVE/saas-vk-ticket-support/blob/ac8b53434ebe59c588ffb24302d32af404280699/client/src/Core/GCPanel/index.jsx#L72-L108
Review propTypes
, especially DefaultProps
aimed to remove ridiculous usage of default prop to .isRequired
on type itself.
Some components maybe have an incorrect declaration of DefaultProps
due to component will always have passed props on it
Trello linked issue
Card name: Ticket content overflow
Card link:
Ticket content overflow
Description:
Multiline text doesnt strip right. Max-height and max-width works only for rude stripping when it's overflowing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.