arfind's People
arfind's Issues
Test naming refactoring
Need to rename our tests as it stipulated in conventions.
The test name should represent what the test doing.
Now I see a lot of strange names like: oneNotFullWordTest
.
Make first load window not modal
Need to refactoring EditCompanyDialog
Colored sources
Add color matching capability to source.
And show colorized source list - it will improve the perception
Create property file
We need to create property file and move our constants to it
Refactoring alert window
When we do our first run of application we should show alert window.
This window should be a big Button with message.
After we clicked on it - we should open Configure window and set configuration.
Add wrapper for Windows execution
Create wrapper with wrapper
Add final modificator
Add final for classes like Sources and classes for clients.
CSS on Table with results
As we can see - now the result table hasn't good view.
Need to add CSS on it.
Logic repeat
In our companies cache we have Map of companies' names and SearchDetails.
But company name is already one of the fields in SearchDetails.
That is why there are some problems in logic which we need to fix.
Table cell division
We want to make our table with data we found look excel-like.
That is why we need to add extra cells for user-friendliness.
Read config files while starting program
When we run our program we should read all configs from config file, and show it.
In MainApplication we should check config file
Price column handling
In some excel files price column has custom type - with prefix with currency.
For example:
144 руб.
And when we get value from such columns - we get only 144.
We need to understand - how we will detecting price in each excel - cause all of them have different structure.
Add NUMERIC case
If we have only numeric in cell (without text) app cannot read it, consequently find matches, becouse we have only case STRING.
Add case NUMERIC and tests for it
Performing a search in old configurations
After we create the configurations, and then delete, the search in them is still carried out.
Refactoring Constants class
Delete HBoxConstants, GridPaneConstants and PaddingConstants
Add files for test parsing logic
We need to have different Excel files for tests.
And it should be different version of Excel.
Modify the results html table
Now if i am working with multiple files and not all matched strings have one length - result of searching is ugly.
Need to improve the html table generator - all matched lines should fill the whole space.
Save search history
Maybe we should need to add search history - pop-up list when we type our search request?
Selected checkboxes
When we want to perform a new search, checkboxes selected before become unselected.
But for user-friendliness we need to make them selected even after the new search.
Lock windows
When we open 'Configuration' (or 'Help' etc) window, we still have access to 'MainApplication' window. So we can open a few such windows, but that is not logical.
Need to block 'Main' window than we work with another.
Add "Select all" button
When we save configuration, close app, and enter it, we have not selected source. So if we have a lot of this it will be problem to select all.
We need to add button for this.
Issues for specific letters in search
е/ё problem
Windows resolution problem
We don't know average sizes of windows and need to fix it because we can't see windows on low-resolution displays
Fix save configuration after close application
Fix save configuration after close application.
Now i delete all logic - cause we use observable cache.
Need to add it - use shutdownHooks
Hieroglyphs in edit dialog file path
Sometimes we see hieroglyphs in file path.
It's strange behavior - when we set file path it is valid string.
We see it only on Mac OS.
Metadata of files in configuration window
Let add some metadata for sources - size of files, last modified time and etc.
We can use NIO for it and class Files
Convert ErrorLabel to ErrorLabelFactory
Excel type check
Now we rely on file extension when we try to understand type of Excel, we have smth like:
`
if (name.endsWith("xls")) {
return ExcelExtension.XLS;
} else if (name.endsWith("xlsx")) {
return ExcelExtension.XLSX;
}`
Of course - it's bad and we should check it in a different way.
Check interface for HIG
Read HIG for most popular platforms and check our UI for it.
HIG is : HIG Description
Padding in editor bar
We forgot to add the upper indent for Editor Bar in Configuration window.
Move GUI to separate submodule
Create submodule for UI and move all UI code-base to it.
First init of application
If we havn't any config.csv file - we havn't got any sources for search
Now - we show Button for this purpose before main window.
But it's ugly to see
I think we should show main window and in sources area pick button and warning for set sources.
Fix magic numbers in project
We have a lot of magic numbers in our code base.
Need to fix it.
Implement saving companies and paths to csv
Need to create Utility class with save method and invoke it when we want to save our configuration.
Delimiter - ';'
Create logger
Need to add logging for debug application properly
- Add logback and slf4j to parent
pom.xml
- Add logging for critical places of project.
Delete header from Configuration window
Noticed only now - our header in UI of Configuration is duplicated name of the window.
In this case i think we can delete header - it's redundant text
Create test table and see results
Create test table with tow columns - one column is String - names - ObservableList, and other - ListView.
Need to see how it looks - is it good solution or not?
Create skeleton of project
Create simple GUI model for project.
See Apache Tika
Needs to see library Apache Tika - maybe we can use it instead of our excel crawler
https://tika.apache.org/
New UI in edit company dialog
I think it should be only button in search line. After we clicked on it - we see FileChooser, and after we choose file - textEdit with absolute path and button for change it - like now.
To sum up: first - only button, after clicked - button with text edit
File existence
With the help of config file we load companies and excel file paths to configuration window.
However, something bad may happen and these excel files may be deleted.
That is why we need to check if these files exist and only after this load them to our configuration window.
set priority map
Map with two priorities - 0 and 1.
0 for full coincidence
1 for not full
Cache companies
I think we should have cache for companies and use file only as a persistent store.
For example and basic usage we can use: Guava - Caching
With cache we can implement Company DAO.
Add readme.md
Add readme with screenshots and description about project.
For example:
Template_1
Template_2
Template_3
Fix collision of list view and search text field
As i can see - now we have problem with main window UI - left listview collide search text field.
It's a very ugly and must be fixed.
@timuranosov I think you should fix it:)
Drag'n'Drop to add source
Implement drag and drop for adding sources.
Modify add source windows and mechanism
Now we have very primitive mechanism to adding sources for search - dialog with two fields.
But with this technology we can't add bunches of sources
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.