logchimp / theme Goto Github PK
View Code? Open in Web Editor NEWThe default theme for LogChimp
Home Page: https://logchimp.codecarrot.net
License: Apache License 2.0
The default theme for LogChimp
Home Page: https://logchimp.codecarrot.net
License: Apache License 2.0
Show a beautiful error message in the UI when SERVER_URL
environment variable is missing.
Don't store site settings in localStorage get data via API on every page.
Currently, we are passing multiple arguments to the API helper functions.
for example
export const getPublicBoards = async (page = 1, limit, sort = "desc") => {
return await axios({
method: "GET",
url: "/api/v1/boards",
params: {
page,
limit,
created: sort
}
});
};
As getPublicBoards
function accept multiple arguments, due to confusion in which order the arguments needs to be passed, can lead to unexpected results.
In resolution of that problem, we can change the arguments to a single object.
for example
export const getPublicBoards = async ({
page = 1,
limit,
sort = "desc"
}) => {
return await axios({
method: "GET",
url: "/api/v1/boards",
params: {
page,
limit,
created: sort
}
});
}
Add colour picker for changing colour.
UPDATE: ColorInput
component has been created (Jan 08, 2021)
Running this test throws error TypeError: Cannot read property '0' of undefined
.
20 |
21 | const value = wrapper.emitted("input");
> 22 | expect(value[0]).toBe(true);
| ^
23 | });
24 | });
25 |
Describe the bug
Unable to build non interactively with Docker
To Reproduce
Steps to reproduce the behaviour:
apk add git nodejs yarn
yarn build --fix
within DockerfileExpected behaviour
Builds properly. It builds with the actual base Docker image in a bash shell, just not in Docker.
Examples of Errors
/app/theme/src/pages/Index.vue
4:9 error Replace `⏎↹↹↹↹v-for="post·in·posts"⏎↹↹↹↹:key="post.postId"⏎↹↹↹↹:post="post"⏎↹↹↹` with `·v-for="post·in·posts"·:key="post.postId"·:post="post"·` prettier/prettier
/app/theme/src/pages/Join.vue
9:5 error Insert `/` prettier/prettier
41:12 error Replace `⏎↹↹↹↹↹type="primary"⏎↹↹↹↹↹:loading="buttonLoading"⏎↹↹↹↹↹@click="join"⏎↹↹↹↹` with `·type="primary"·:loading="buttonLoading"·@click="join"` prettier/prettier
and more..
Additional thoughts
Looks to be problems with tabs. Standardize to spacing instead of tabs to avoid this issue. The --fix
argument shouldn't need to be used regardless.
This issue will stretch across multiple milestones.
/
/boards
- logchimp/logchimp#98@everyone
is a default role created when setting up LogChimp and should not be renamed from the theme.
Describe the bug
(Before splitting the codebase, there was no such error)
Getting regeneratorRuntime is not defined
error in client app, but the tests are passing.
But after removing babel.config.js
file, the client app issue gets resolved, but tests start failing.
module.exports = {
presets: ["@babel/preset-env"],
plugins: ["transform-require-context"]
};
Screenshots
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.