-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New mobile version. #648
Merged
Merged
New mobile version. #648
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The existing search button has been replaced with a creatSearchCancelButton method. This button now handles toggling between search and normal content types. Previously unused imports were also removed. Additionally, minor CSS adjustments were made for the search-text-field's button.
Update UI in mobile blogs category page;Added a new style class "blogs-category-page" to the MobileBlogsCategoryPage.java. Also updated mobile.css to alter the avatar type from CIRCLE to PLAIN in the list view of the blogs category page for a more consistent user interface.
…review-image fix: Correct incomplete image display in Blogs list
Upgraded the MobileHomePage class to use the Singleton pattern. Redesigned the mobile navigation system by adding a history tracking feature which allows users to navigate back/forward on the mobile interface. Also introduced navigation buttons on the mobile development toolbar.
…-exit-search-view
…bile-navigation
Removed redundant overriden method `goBackLink()` from `MobileCategoryHeader` in all details pages. This simplifies how `MobileCategoryHeader` is instantiated, reducing code duplication and making the code more maintainable.
Added a line of code to sort blog posts in descending order based on their published date. This ensures that the most recent posts appear first in the MobileBlogOverviewBox.
The image bindings that previously set header images for various detailed pages have been removed. As the specific line of code setting these bindings was removed in each of the detail pages, the headers for these pages will no longer display preview images based on their respective objects (e.g., tutorial, person, video, tip, book, blog, app, tool, library).
Added a line of code in the WelcomePageView class to initially set the page index randomly. This change aims to display various pages in a randomized manner upon launching the application, enhancing user experience by providing a diverse starting point each time.
Simplified MobilePersonDetailsPage by removing a complex header and details content creation. Introduced MobilePersonDetailView supporting the view with person details. The changes include the display of badges indicating the person's contribution status and an update in styling the details page.
…t-remove-go-backlink Simplify MobileCategoryHeader instantiation
…log-by-date Sort blog posts by date
…t-randomly-initial-page Set initial page index randomly in WelcomePageView
The home page and person detail view of the mobile application have been refactored. Unused imports were removed, the logic to create preview views was moved to the CategoryPreviewView class, making the code more organized. Moreover, the avatar and linked objects in the person detail view were updated to enhance the user experience. Finally, some minor cosmetic changes were made to the linked badges and CSS styles.
The updates rearrange the order of operations for resetting the avatar, text, and boxes when a person's detail view is refreshed. Additionally, the updateBadge() and updatePersonLinkedObjectBox() functions have been adjusted to directly receive the person object as a parameter and the labels of badges have been corrected.
Added a new category for videos in the mobile home page.
An update has been made to support the opening of documentation links from the mobile application. New classes for handling and dispatching link opening events have been introduced. The functionality caters for either native or external browser link opening, enhancing the user's browsing experience directly from within the app.
…bile-person-details-view Refactor MobilePersonDetailsPage and add MobilePersonDetailView
…cumentation-page Add documentation page
Expanded the action listener of the home button in the BottomMenuBar class. Now when the home button is being displayed and is clicked, it hides the search view and displays the normal content. If it's not being displayed, it navigates to the home page like before.
…t-click-home-button Update home button action in BottomMenuBar
UI elements have been adjusted in the mobile.css file, including changing shadow effects to border properties for a more modern and clean look. In the BottomMenuBar.java file, the interaction with the home button has been changed from reacting on mouse click to mouse press for a smoother user experience.
…-shadows Update UI elements and modify button interaction
…obilePageBase This update involves refactoring various mobile components such as MobileCategoryPageBase and MobileDetailsPageBase to inherit from a new MobilePageBase class which replaces the older SizeSupport logic. Updated MobileRouter to handle new type of MobileResponse, replaced the viewCallback() with new responseCallback() in MobileRoute. Added a new utility class MobileResponse to manage the response data from the mobile route and a new class MobilePageBase to handle all the sizing loic and also manage the swipe interactions and callbacks.
The commit updates the CSS styles for the Links of the Week page, and adjusts the structure in Java for handling the content. It removes redundant code and improves content view by introducing a ListView for sorting links, leading to more efficient and cleaner code structure.
…d-mobile-base-page Refactor MobileCategoryPageBase and MobileDetailsPageBase to extend MobilePageBase
This commit includes several updates to the UI components in both Header.java and several details pages. Resources that are no longer needed are removed, elements visibility handling is improved, certain icons are set to null, and CSS stylings are adjusted to improve readability. Click event has also been added to HomePageHeader.
The header visibility in OverviewBox has been bound to the presence of both title and icon. This ensures the header section will be hidden if either is missing. Furthermore, 'setTitle(null)' has been added across various classes, effectively removing the title from those boxes.
The FontAwesome library used for back icons in MobilePersonDetailView and MobileCategoryHeader classes has been replaced with MaterialDesignA. Updated the icon declaration for backButton to reflect this change.
The CSS guidelines for .mobile-category-header have been tuned in this commit. Changes include adjustment of padding in buttons, icon sizes reduction for better aesthetics and grouping, resizing of the category title font for smoother readability, and padding changes for optimal appearance.
…just-the-style Update UI components and enhance readability
The code changes involve updating the layout and functionality of the mobile learn page. This includes the addition of a LearnCategoryBox and LearnListCell, as well as a LearnPagination model for better navigation. The code also includes changes to the CSS for the new components, ensuring a coherent look and feel.
…d-mobile-learn-part
The update incorporates lifecycle methods for mobile views in the MainPageSkin class. Now, before an old view disappears or a new view appears, optional Runnable tasks are executed. This allows for smoother transitions between different views. A viewDidLoad method was also added to the MobileHomePage class for setting the content type on view appearance.
…plement-lieft-cycle-methods Implement lifecycle methods for mobile views
1. Add LotwPagination component. 2. Add LearnPagination component. 3. Wrap Details Page header text for better display. 4. Fix sorting error on Learn category page. 5. Remove "Related" text from header. 6. Add pressed styles for back button, more button, and others. 7. Update css
…gination-header-enhancements Add pagination components and enhance header text display, update styles
…rape Refine logic for determining short titles.
Introduced a new `LinkedObjectsBox` component to display related objects uniformly across various mobile detail pages. Updated existing pages such as `MobileCompanyDetailsPage` and `MobileBookDetailsPage` to incorporate this new component. This change will enhance consistency and maintainability in showing related objects.
Updated the mobile.css and Java files to reflect the renaming of WelcomePage to IntroPane and IntroCard. Simplified and adjusted styling for consistency and added an image credits file.
Replaced the static array of PageDate objects with a List to enable shuffling of the intro pages. This ensures a different order of pages each time the application runs, enhancing user experience.
Renamed the PageDate record to IntroCardData for better clarity and updated the respective variable references throughout the IntroPane class. This enhances code readability and aligns with naming conventions focused on introducing cards.
…nked-objects Add LinkedObjectsBox component to mobile detail views
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.