Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 02:08
    chenshuai2144 commented #7984
  • 02:08
    chenshuai2144 labeled #7984
  • 02:08
    chenshuai2144 labeled #7984
  • 01:12
    Jeff-Tian closed #7982
  • 01:12
    Jeff-Tian commented #7982
  • 01:10
    Jeff-Tian edited #7982
  • 01:08
    Jeff-Tian commented #7982
  • Jan 20 14:48
    Samtoto opened #7984
  • Jan 20 12:30
    chenshuai2144 closed #7558
  • Jan 20 12:29
    chenshuai2144 commented #7979
  • Jan 20 12:29
    chenshuai2144 commented #7980
  • Jan 20 12:29
    jvcjunior commented #7558
  • Jan 20 12:23
    chenshuai2144 closed #7981
  • Jan 20 12:23
    chenshuai2144 commented #7981
  • Jan 20 12:20
    chenshuai2144 commented #7970
  • Jan 20 12:19
    chenshuai2144 commented #7982
  • Jan 20 12:17
    chenshuai2144 commented #7558
  • Jan 20 12:14
    kevinadhiguna commented #7938
  • Jan 20 12:07
    chenshuai2144 closed #7983
  • Jan 20 11:09
    chenyangyang123 commented #7937
boukmi
@boukmi
Hi all, is there a way to add redux form with ant design pro v4?
I cannot figure out how to add redux-form reducer to the new ant design pro, any ideas?
Scott Williams
@scott-joe
Haven't tried that yet. I do know Pro uses DVA and DVA is a sort of...supeset or influenced by Redux...
boukmi
@boukmi
Yeah I couldn’t figure out how to add the form
boukmi
@boukmi
Yeah I couldn’t figure out how to add the redux form reducer to the existing dva/modal architecture
Scott Williams
@scott-joe
Good question. I'm not as familiar with how that stuff gets implemented. are you using a "block" or regular AntD components to an AntD form?
boukmi
@boukmi
Just regular AntD actually
Scott Williams
@scott-joe
Things get harder when you're using their higher-order components bc you have to work within their established event/state mgmt. I think you could perform a normal instillation of redux-form with it's connect pattern. I could be wrong though... isn't redux-form's goal to move form data out of the globally managed state?
there's redux or react-final-form now. and I think a react-form-hooks of some sort that'll use react's hooks to manage forms.
I'm not being super helpful, but these are the things I've been looking at for forms.
boukmi
@boukmi
Thank you @scott-joe I'm gonna check your suggestions
Gökhan Çoban
@cobangoo_twitter
Hi, how can I change paddings on Prolayout's Content? I can't give style to Prolayout components. Since I want to change paddings only on a single page, I can't directly set to global less file. What can you suggest?
Gökhan Çoban
@cobangoo_twitter
Since ProLayout is not in our source code (generated with umi) we cannot change it according to our needs
Hamid OUIKENE
@hamid.ouikene_gitlab
Hello, do you guys know how to make the pro side bar collapsed by default?
I couldn't get it to work right when trying to set collapsed for the Sider to default true
Scott Williams
@scott-joe
@cobangoo_twitter I've had the same problem with sub-components for the Pro layout.
jorko95
@jorko95
hi there
i have a little bit problems
i am trying to change the favicon of the top of the browser
if anyone can help me
actually apears Pro black icon, and i want to put my icon.
jorko95
@jorko95
imagen.png
I need to put my favicon on the left side of "Home"
jorko95
@jorko95
hi there. I am trying to filter the access to my web app, using login block, so all the path redirect to the login, unless you access the web app
krecco
@krecco
Hi, could someone help mi with: ant-design/ant-design-pro#5237
boukmi
@boukmi

Hi everyone, is there a way to extend a predefined style from antd?

.crazy_container{
    .crazy_btn{
        &:extend(.ant-btn .ant-btn-primary all);
        padding: 30px;
    }
}
<Button className={style.crazy_btn}></Button>

But this seems not having effect.

I've searched around for this but can't find any good result.
Thank you all
madbbb
@madbbb
hello. How do I set up prettier on vscode to lint errors that lint-staged finds on precommit?
Anuruddha Thennakoon
@anuruddha-thennakoon
Hello, How can I translate the ProTable option text. These are default tooltips.
Anwar Chakhar
@AnwarChakhar
image.png
Hi everyone, anyone had issues when first importing antd pro ?
I'm using webpack and it seems related to how less files are imported. Antd is already in usage in the project and everything was fine until adding pro-layout
Anwar Chakhar
@AnwarChakhar
anyone using antd-pro as external library and webpack ?
Geoffrey Cambefort
@gcambefort
Hi AntD Pro developers :)
偏右
@afc163
🔥 New Charting Library G2Plot 1.0 is released! https://twitter.com/AntDesignUI/status/1240125806774542336
Skormzy
@Skormzy
Hi Everyone, I'm a beginner developer and was hoping to use Ant-design and G2Plot, but I noticed a lot of the tutorials aren't in English. Is there an English version or should the code snippets be enough to understand what to do?
RoXoM
@xyy94813

Hi everyone.

Is there any solution to resolve performance problem of sider menu when menu data is too much.

I think the reason is use too many animation(by use transition: all).
Should i override all transition???

Is there anyone have same problem???
How did you resolve it?

MD. Asifur Rahman
@Battosuai
Any direction for state management in ant d pro.. I generally use redux, but I am struggling with pro's state management
Renan William Alves de Paula
@renanwilliam
the state management is made using react hooks
செயல்தலைவர்
@arselvam_twitter
Hi, using ant design pro for first time, Not able to render the data in ProTable. Its a simple request, export async function queryRule() {
return request('http://localhost:5060/api/v1/product/all');
}
request={() => queryRule()}, but when i use hardcoded value it is rendering, not sure what am i doing wrong, sample data, request={() => ( {
data : [
{productid: "12189", skuid: "AuroraWMDRS-375", title: "Hermitage Empire Waist Evening Gown"},
{productid: "12465", skuid: "AuroraWMDRS-651", title: "Hermitage Knit Cocktail Dress"}
]
} ) }
Gurkaran Singh
@TheStarkster
Screenshot 2020-10-08 at 12.35.23 PM.png
hey guys...can anyone tell me how to change that image in initial loading saying "Pro" in very center??
Kenshin Himura
@IMD_Jiban_twitter
@TheStarkster You can find html for that in document.ejs file in pages folder
Gurkaran Singh
@TheStarkster

@IMD_Jiban_twitter thank you very much, can you also tell me from where can i change the logo text from "Ant Design Pro" to "My Project" ? i already looked into config.js and changed title there, it worked in my previous project but not in new one

also the title of the page is <page-name> - Ant Design Pro i want to change it to just <page-name>

guidance will be highly appreciated

sorry that wasn't config.js it was defaultSettings.js but still doesn't work
Kenshin Himura
@IMD_Jiban_twitter
@TheStarkster which logo text?
Can't tell about page title.
Gurkaran Singh
@TheStarkster
@IMD_Jiban_twitter thanks dude i figured that out i accidently removed {...settings} from ProLayout in BasicLayout.jsx