MLB_DFS_ROO / app.py

Commit History

Enhance player selection logic in app.py by modifying the wrap option to include the first three and last two players based on order. This change improves the flexibility and efficiency of lineup management.
617129f

James McCool commited on

Add quick fill options in app.py to streamline player selection for lineups. Implemented logic to auto-fill eligible players based on team, size, and order preferences, enhancing user experience and efficiency in lineup management.
f89ff68

James McCool commited on

Add 'Opp' column to roo_data in app.py for enhanced player matchup information. Adjusted column order to improve data organization and clarity in the lineup summary.
83b30d9

James McCool commited on

Refactor salary display logic in app.py by removing JavaScript dependency for screen width and simplifying column layout. This change enhances the user experience by ensuring consistent presentation of salary information across all devices.
ffa571c

James McCool commited on

Refactor mobile layout in app.py to enhance salary display by adjusting column alignment and improving HTML formatting. This change ensures consistent presentation of per player salary and leftover amounts across different screen sizes.
b858a5a

James McCool commited on

Refactor HTML styling in app.py for salary display to improve alignment and visual consistency. Adjusted vertical alignment and margin properties for better presentation of player salary and leftover amounts in the lineup summary.
cd4b2ab

James McCool commited on

Implement responsive column layout in app.py based on screen width to enhance user experience on mobile devices. Default to desktop layout if JavaScript fails to retrieve screen width.
f77a585

James McCool commited on

Limit displayed summary rows to the top 10 in app.py for improved clarity and user experience in the lineup summary. Adjusted labels for better context on salary and leftover amounts.
74d3eb1

James McCool commited on

Implement conditional logic for per player salary display in app.py to handle cases with filled lineups. This enhancement ensures accurate salary calculations and improves user clarity in the lineup summary.
ea83f72

James McCool commited on

Refactor salary display in app.py to utilize HTML for improved formatting and alignment, enhancing visual clarity and user experience in the lineup summary.
8803344

James McCool commited on

Refactor salary display in app.py to use HTML for improved formatting and alignment. This change enhances visual clarity by presenting salary and median values in a more structured manner, contributing to a better user experience in the lineup summary.
ec05986

James McCool commited on

Enhance salary display logic in app.py by introducing conditional formatting for total salary. If the total salary exceeds the limit, it now displays an error message, improving user clarity in the lineup summary.
cf1b155

James McCool commited on

Update label in app.py from "Rem$ Player" to "Per Player" to enhance clarity in the salary display, improving user understanding in the lineup summary.
95360a4

James McCool commited on

Update markdown formatting in app.py to improve the display of remaining salary per player, enhancing visual clarity with a minor adjustment to the label for better user engagement in the lineup summary.
d354695

James McCool commited on

Adjust column layout in app.py to improve the display of player cost per player, enhancing visual clarity with a markdown format for better user engagement in the lineup summary.
dc54118

James McCool commited on

Update markdown formatting in app.py to enhance the display of salary, median, and ownership percentage, improving clarity and user engagement in the lineup summary.
e83065b

James McCool commited on

Update markdown labels in app.py for salary, median, and ownership percentage display to improve clarity and user understanding in the lineup summary.
8a1a164

James McCool commited on

Enhance lineup summary display in app.py by expanding the layout to three columns. Introduced a markdown format for displaying total salary, median, and ownership percentages, improving visual clarity and user engagement.
c1b6b3a

James McCool commited on

Refine totals display in app.py by ensuring consistent rounding for median and ownership values. This update enhances clarity in the lineup summary, improving the overall user experience.
13ab6ca

James McCool commited on

Update player cost display in app.py to round values for clarity and replace dataframe with a summary of total salary and statistics. This change enhances the user experience by providing a more concise overview of lineup performance.
3a837cc

James McCool commited on

Update lineup display in app.py to refine summary row presentation by including only 'Salary', 'Median', and 'Own%' columns. Introduced a two-column layout for displaying player cost per player alongside the updated dataframe, enhancing user experience in lineup management.
6b178bc

James McCool commited on

Refactor player selection logic in app.py to filter eligible players based on their 'Order' value before applying auto-fill options. This change improves the accuracy of selected players for lineup management, ensuring only valid entries are considered.
25c6d27

James McCool commited on

Refactor Quick Fill Options in app.py by simplifying the layout of the auto-fill selections. This change enhances the user interface by removing unnecessary columns, streamlining the quick fill process for better usability in lineup management.
2945395

James McCool commited on

Enhance player selection logic in app.py by adding functionality to automatically fill eligible lineup slots based on selected players. This update improves lineup management by preventing duplicates and ensuring compliance with position limits, while also maintaining the existing quick fill options.
eb50214

James McCool commited on

Refactor Quick Fill Options in app.py by reintroducing the feature with improved layout and logic for auto-filling players based on team selection and size. This enhances user experience in lineup management.
70073ad

James McCool commited on

Add team filter and quick fill options in app.py to enhance lineup management. Introduced UI elements for auto-filling players based on selected team and size, improving user experience and efficiency in lineup building.
63cac6f

James McCool commited on

Refactor lineup display in app.py by removing '2x%' column from background gradient styling, enhancing clarity in player data presentation and maintaining focus on key statistics.
93f2f42

James McCool commited on

Remove '2x%' column from display in Handbuilder tab of app.py to streamline player data presentation and enhance clarity in lineup management.
3f22d0e

James McCool commited on

Remove specific CSS styling for text input height in app.py to streamline the user interface and maintain consistency across components.
0e39456

James McCool commited on

Adjust CSS styling in app.py to set a specific height for text input fields within the Handbuilder tab, enhancing the visual consistency of the user interface.
cfb1602

James McCool commited on

Refactor lineup display logic in app.py to ensure that the player data is only processed when the filled lineup is not empty. This change enhances the efficiency of the display logic and maintains clarity in the representation of player statistics.
8852749

James McCool commited on

Update Handbuilder lineup DataFrame in app.py to include '2x%' column, enhancing player data management and display. Adjust related logic for player selection and summary calculations to ensure accurate representation of player statistics, improving user experience and clarity.
2b2c50a

James McCool commited on

Update subheader in Handbuilder tab of app.py to "Lineup Build" for improved clarity and context in lineup management.
8348fb9

James McCool commited on

Update Handbuilder tab in app.py to replace empty string values with NaN for 'Order', 'Salary', 'Median', and 'Own%' columns in the lineup DataFrame. Adjust background gradient logic for improved visual representation of player data, enhancing clarity and user experience.
3626a1a

James McCool commited on

Enhance DataFrame display in Handbuilder tab of app.py by applying background gradients to player selection and lineup tables. This improves visual clarity and user experience when reviewing player data.
7e14434

James McCool commited on

Implement single-row selection for lineup removal in Handbuilder tab of app.py, allowing users to easily remove players from the lineup. Update DataFrame display logic to enhance user interaction and streamline lineup management.
0720ad1

James McCool commited on

Comment out player eligibility filtering in Handbuilder tab of app.py to temporarily disable player selection logic, allowing for further testing and adjustments without affecting current functionality.
34460c9

James McCool commited on

Update Handbuilder lineup DataFrame in app.py to include 'Order' column for improved player management and display. Adjust related logic to ensure consistent handling of player data across the application, enhancing clarity and user experience.
aa1ddcc

James McCool commited on

Enhance lineup display in Handbuilder tab of app.py by implementing an explicit order for player slots. Update DataFrame to show filled and unfilled slots clearly, and adjust summary calculations to ensure accurate representation of total salary, median, and ownership percentage. This improves user experience and data clarity.
fa0e4a7

James McCool commited on

Refactor player selection logic in Handbuilder tab of app.py to improve eligibility checks based on position limits. Update the DataFrame to include a 'Slot' column for better lineup management and ensure players are only added to available positions, enhancing user experience and data integrity.
e32d65b

James McCool commited on

Add 'Position' column to summary row in Handbuilder tab of app.py to provide a comprehensive overview of player data, enhancing clarity and user experience.
4f82cd3

James McCool commited on

Implement position limits and filtering logic in Handbuilder tab of app.py to manage player selection more effectively. This update enhances lineup management by preventing selection of players whose positions have reached their maximum count, improving user experience.
78266ef

James McCool commited on

Add position limits and filtering for player selection in Handbuilder tab of app.py. Implement logic to exclude players whose positions have reached their maximum count, enhancing lineup management and user experience.
1ddfb47

James McCool commited on

Refine player selection DataFrame in Handbuilder tab of app.py by adding duplicate removal based on 'Player' and 'Team', ensuring data integrity and enhancing user experience.
00eff85

James McCool commited on

Update player selection DataFrame in Handbuilder tab of app.py to remove duplicate entries based on 'Player' and 'Team', enhancing data integrity and improving user experience.
99cdacb

James McCool commited on

Sort player selection DataFrame by 'Order' in Handbuilder tab of app.py to enhance display clarity and ensure consistent ordering of players based on their designated order, improving user experience.
52fbe00

James McCool commited on

Add session state management for player selection in Handbuilder tab of app.py by introducing a unique key to reset selection upon player choice. This enhancement improves user experience by ensuring accurate player selection and preventing stale selections during interactions.
ed2145b

James McCool commited on

Implement lineup management in Handbuilder tab of app.py by introducing a session state for the lineup, allowing players to be added without duplicates. Update summary calculations to reflect the current lineup and add a "Clear Lineup" button for user convenience, enhancing overall functionality and user experience.
9274561

James McCool commited on

Refactor player selection handling in Handbuilder tab of app.py by removing unnecessary session state variables and simplifying the selection logic. Update the display of selected players to directly reflect current selections, enhancing clarity and user experience.
633710b

James McCool commited on

Enhance player selection state management in Handbuilder tab of app.py by initializing and maintaining a session state for selected indices. Implement logic to handle out-of-range selections and update the display based on current selections, improving user experience and selection accuracy.
263e733

James McCool commited on