These are chat archives for systemaccounting/mxfactorial

2nd
Jun 2016
Kishan Jobanputra
@kishanj918
Jun 02 2016 04:10
@mxfactorial hi max. I am up for task.
Max Funk
@mxfactorial
Jun 02 2016 04:57
You have all the details, yes?
Kishan Jobanputra
@kishanj918
Jun 02 2016 05:07
do you have psds ? so that i can get exact design.
i mean font types and all.
Screen Shot 2016-06-02 at 10.38.45 am.png
are they inputs or divs with text?
Max Funk
@mxfactorial
Jun 02 2016 05:10
No, you are welcome to improvise. These cosmetic details can be addressed later
The top is an indicator and the second and third are inputs
Kishan Jobanputra
@kishanj918
Jun 02 2016 05:23
okayy thanks!
Max Funk
@mxfactorial
Jun 02 2016 05:31
Correction: The third is also an indicator; displays the sum of the value of transaction items. Only the second is an input which receives the user with whom a transaction will be created.
And first is simply a user's account balance.
Kishan Jobanputra
@kishanj918
Jun 02 2016 05:46
okay!
Kishan Jobanputra
@kishanj918
Jun 02 2016 06:55
@mxfactorial i am facing a strange issue. When i added provided icons in static > images along with logo and tried to display home icon, it is giving me not found error. Logo is working but other images are not showing up and giving me not found error. I have tried other images also but seems not working. can you help?
Max Funk
@mxfactorial
Jun 02 2016 07:02
webpack
In Terminal
The bundle.js file must be recompiled with references to the static files.
Kishan Jobanputra
@kishanj918
Jun 02 2016 07:09
i tried running webpack in terminal. Still getting error.
Max Funk
@mxfactorial
Jun 02 2016 07:16
Are all image file format extensions identified for the 'file-loader' pre-processor in webpack.config.js? No extensions unaccounted for?
Kishan Jobanputra
@kishanj918
Jun 02 2016 07:18
yes. i checked it.
.png is there in config.
Max Funk
@mxfactorial
Jun 02 2016 07:19
You must be requiring the images in the module, but webpack fails to include them when bundling, then webpack-dev-server produces the error.
Kishan Jobanputra
@kishanj918
Jun 02 2016 07:22
what am i suppose to do?
Max Funk
@mxfactorial
Jun 02 2016 07:27
researching*
When webpack produces the bundle.js file, it also produces a separate file for the logo?
...in the build directory?
Max Funk
@mxfactorial
Jun 02 2016 07:32
A build/static/images is added with only logo?
Max Funk
@mxfactorial
Jun 02 2016 07:45
Reading from this sentence, "There are two native loaders we can use to handle concrete assets..." in this article: https://blog.madewithlove.be/post/webpack-your-bags/ The configuration for loading images is different in this example: Inline vs. referencing
Max Funk
@mxfactorial
Jun 02 2016 07:59
Late here. Signing off. Leaving this: http://survivejs.com/webpack/loading-assets/loading-images/
Max Funk
@mxfactorial
Jun 02 2016 08:07
webpack/file-loader#29
webpack/style-loader#55
Max Funk
@mxfactorial
Jun 02 2016 15:57
@kishanj918 You fixed the issue?
Max Funk
@mxfactorial
Jun 02 2016 16:29
Kishan, you may be referencing the images through the 'img' tag. But webpack does not consider JSX. So to have webpack pick up the newly-added image, you must ALSO 'import' the image at the top of the module. Then, webpack will pick up the import statement of the image, and include it in the bundle.