Comments (3)
Hi @thapakazi! A good example can be found in the GitHub plugin repo.
We can define a component in the webapp/src/components
folder like https://github.com/mattermost/mattermost-plugin-github/tree/master/webapp/src/components/team_sidebar.
Then include in the component in the sidebar with a call to registry.registerBottomTeamSidebarComponent
in webapp/src/index.js
like so: https://github.com/mattermost/mattermost-plugin-github/blob/ab7832c593851ce7b55882a1325e6e64bf933bc1/webapp/src/index.js#L26
Do you have experience using React and Redux? The todo info is stored in Redux, so you will need to connect your component to the Redux store.
from mattermost-plugin-todo.
@Ashniu123 is working on this issue.
from mattermost-plugin-todo.
This addition will be a handy one 👍
Hi, @mickmister
Do we have documentation/guidelines on how to build these custom UI elements?
I am new here and struggling to catch up with this just by going via other related plugings. Thanks.
from mattermost-plugin-todo.
Related Issues (20)
- Creating ToDos via RESTful API HOT 3
- Todo can get stuck if not careful HOT 7
- Can't active plugin HOT 2
- Combine the webapp plugin's requests for refreshing counts into one request
- Can't accept incoming Issue if it was first created in a Users own Todo and then reassigned to another user HOT 1
- Mattermost todo plugin issues with assignments after todo was created
- ARM Build. HOT 4
- Unaccepted tasks are not seen in the sent list of the user who assigns the task. HOT 1
- Keeping the assign field empty auto-assigns the ToDo.
- Empty ToDo section in RHS closes on saving without any error
- Already created task if assigned afterwards to any other user does not provide the option to accept or deny the task HOT 1
- On expanding the RHS completely and opening the assigning modal hampers the UI
- ToDo accepted but not in the list of assigned user HOT 8
- Assigning the same todo again to the same user shows 500 error code.
- Fix e2e playwright directory linting
- Set up dependency caching for playwright GitHub actions workflow
- Extract centralized plugin e2e setup code into separate repo
- Hamburger menu gone and sidebar not able to be hidden HOT 7
- Menu on a todo item at the bottom of RHS should open above the item instead of below
- Handle errors returned from API in the webapp
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mattermost-plugin-todo.