Skip to content

Conversation

Copy link

Copilot AI commented Jul 16, 2025

Summary

Added a prominent deprecation notice banner to inform users that this REST API documentation is no longer maintained and direct them to the new documentation location.

Changes Made

  • Added deprecation banner HTML to source/layouts/layout.erb

  • Added CSS styles to source/stylesheets/screen.css.scss

    • Eye-catching gradient background (#ff6b6b to #ee5a24) for high visibility
    • Responsive design that works across all screen sizes
    • Added 60px top padding to body to accommodate the banner
    • Hover effects for better user interaction

Visual Impact

The banner appears at the top of every documentation page with:

  • Warning icon for immediate attention
  • Bold "Notice:" text to emphasize the message
  • Clear redirect message explaining the documentation is no longer maintained
  • Prominent link to the new documentation location
  • Professional styling that maintains brand consistency

Technical Details

  • Banner uses position: fixed with high z-index (9999) to ensure it's always visible
  • Flexbox layout for proper alignment across different screen sizes
  • Gradient background with border and shadow for visual emphasis
  • All existing functionality remains unchanged

This ensures users are immediately informed about the documentation status and can easily navigate to the current documentation.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • 224.0.0.251

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@masiur masiur marked this pull request as ready for review July 16, 2025 06:24
Copilot AI and others added 2 commits July 16, 2025 07:12
Co-authored-by: masiur <8793334+masiur@users.noreply.github.com>
Co-authored-by: masiur <8793334+masiur@users.noreply.github.com>
Copilot AI changed the title [WIP] add banner or take div or add popover to show that this api doc are no longer maintained , go to https://developers.fluentcrm.com/rest-api/ Add deprecation banner to notify users of new API documentation location Jul 16, 2025
Copilot finished work on behalf of masiur July 16, 2025 07:13
Copilot AI requested a review from masiur July 16, 2025 07:13
@masiur masiur merged commit e049b2f into main Jul 16, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants